fix storage in chat

This commit is contained in:
tiago.kayaya
2021-02-25 12:41:29 +01:00
parent c0167b083a
commit a74a8bfa9d
5 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -62,7 +62,7 @@ export class AuthService {
if (result)
{
this.ValidatedUser = user;
//this.storageService.store(AuthConnstants.USER, response);
this.storageService.store(AuthConnstants.USER, response);
}
return result;
}
@@ -80,9 +80,9 @@ export class AuthService {
//Get user data from RocketChat | global object
getUserData(){
/* this.storageService.get(AuthConnstants.AUTH).then(res=>{
this.storageService.get(AuthConnstants.AUTH).then(res=>{
this.userData$.next(res);
}); */
});
}
//Get user Id | global object
getUserId(){