@nodeart/firebase-connector
Advanced tools
Comparing version 2.1.50 to 2.1.51
@@ -35,3 +35,3 @@ { | ||
}, | ||
"version": "2.1.50" | ||
"version": "2.1.51" | ||
} |
@@ -167,6 +167,11 @@ import { Http, Response } from '@angular/http'; | ||
return Observable.create( observer => { | ||
firebase.auth().signInWithEmailAndPassword(email, password).then( data => { | ||
observer.next(data); | ||
observer.complete(); | ||
}); | ||
firebase.auth().signInWithEmailAndPassword(email, password) | ||
.then(data => { | ||
observer.next(data); | ||
observer.complete(); | ||
}) | ||
.catch(error => { | ||
observer.error(error); | ||
observer.complete(); | ||
}); | ||
}); | ||
@@ -173,0 +178,0 @@ } |
43572
1029