This commit is contained in:
Peter Maquiran
2022-06-24 16:19:28 +01:00
parent ce7b7b94d0
commit fd2068b36d
+2 -7
View File
@@ -115,10 +115,6 @@ export class LoginPage implements OnInit {
loader.remove()
// login to API successfully
console.log(attempt,'!!::!!');
if (attempt) {
if (attempt.UserId == SessionStore.user.UserId) {
@@ -126,10 +122,9 @@ export class LoginPage implements OnInit {
if(attempt.ChatData) {
await this.authService.loginChat(attempt.ChatData.data);
//try {
await this.authService.loginToChatWs();
// } catch(e) {}
await this.authService.loginToChatWs();
}
this.getToken();