add viewer at events to approve view

Order list of all tasks, most recent on top
This commit is contained in:
tiago.kayaya
2021-10-13 16:33:56 +01:00
parent ebac5ce1ad
commit 2625115800
6 changed files with 35 additions and 30 deletions
+2 -2
View File
@@ -102,8 +102,8 @@ export class AuthService {
console.log('Login to Rocket chat OK');
this.ValidatedUserChat = responseChat;
localStorage.setItem('userChat', JSON.stringify(responseChat));
localStorage.setItem('Meteor.loginToken', JSON.stringify(responseChat['data'].userId));
localStorage.setItem('Meteor.userId', JSON.stringify(responseChat['data'].authToken));
localStorage.setItem('Meteor.loginToken', JSON.stringify(responseChat['data'].authToken));
localStorage.setItem('Meteor.userId', JSON.stringify(responseChat['data'].userId));
this.storageService.store(AuthConnstants.AUTH, responseChat);
return true;
}