File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages-exp/auth-exp/src/core/user Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 18
18
import * as externs from '@firebase/auth-types-exp' ;
19
19
20
20
import {
21
- updateEmailPassword as apiUpdateEmailPassword , UpdateEmailPasswordRequest
21
+ updateEmailPassword as apiUpdateEmailPassword ,
22
+ UpdateEmailPasswordRequest
22
23
} from '../../api/account_management/email_and_password' ;
23
24
import { updateProfile as apiUpdateProfile } from '../../api/account_management/profile' ;
24
25
import { User } from '../../model/user' ;
@@ -48,7 +49,7 @@ export async function updateProfile(
48
49
49
50
// Update the password provider as well
50
51
const passwordProvider = user . providerData . find (
51
- ( { providerId} ) => providerId === externs . ProviderId . PASSWORD
52
+ ( { providerId } ) => providerId === externs . ProviderId . PASSWORD
52
53
) ;
53
54
if ( passwordProvider ) {
54
55
passwordProvider . displayName = user . displayName ;
You can’t perform that action at this time.
0 commit comments