[js][auth] added intercept to updateEmail

This commit is contained in:
Salakar 2017-03-18 00:31:28 +00:00
parent 5320d506bf
commit f5b604bfdd
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ export default class User {
* @return {Promise} A promise resolved upon completion
*/
updateEmail(email: string): Promise<Object> {
return promisify('updateUserEmail', FirebaseAuth, 'auth/')(email);
return this._auth._interceptUserValue(FirebaseAuth.updateEmail(email));
}
/**