mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
improve
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user