[js][auth] added intercept to updateEmail
This commit is contained in:
parent
5320d506bf
commit
f5b604bfdd
|
@ -155,7 +155,7 @@ export default class User {
|
||||||
* @return {Promise} A promise resolved upon completion
|
* @return {Promise} A promise resolved upon completion
|
||||||
*/
|
*/
|
||||||
updateEmail(email: string): Promise<Object> {
|
updateEmail(email: string): Promise<Object> {
|
||||||
return promisify('updateUserEmail', FirebaseAuth, 'auth/')(email);
|
return this._auth._interceptUserValue(FirebaseAuth.updateEmail(email));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue