diff --git a/src/data/firestoreClient/services/users/UserService.ts b/src/data/firestoreClient/services/users/UserService.ts index f6aea52..d9f2699 100644 --- a/src/data/firestoreClient/services/users/UserService.ts +++ b/src/data/firestoreClient/services/users/UserService.ts @@ -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) })