[Resolved] Update provide user info
This commit is contained in:
@@ -32,7 +32,7 @@ export class UserService implements IUserService {
|
||||
reject(reject(new SocialError(`firestore/providerdata`, 'firestore/getUserProfile : Provider data or email of provider data is empty!')))
|
||||
}
|
||||
const {avatar,fullName, email} = providerData
|
||||
const userProfile = new Profile(avatar,fullName && fullName !== '' ? fullName : email ,'','',moment().unix(),email)
|
||||
const userProfile = new Profile(avatar,fullName && fullName !== '' ? fullName : email ,'','',moment().unix(),email, -1, '', '', '')
|
||||
resolve(userProfile)
|
||||
this.updateUserProfile(userId,userProfile)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user