mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Refresh token done
This commit is contained in:
@@ -32,7 +32,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
this.chatService.refreshtoken();
|
||||
}
|
||||
|
||||
close(action:any){
|
||||
@@ -169,12 +169,6 @@ export class ChatPopoverPage implements OnInit {
|
||||
|
||||
});
|
||||
}
|
||||
},(error: HttpErrorResponse) => {
|
||||
if(error.status === 401){
|
||||
this.chatService.refreshtoken()
|
||||
this.deleteGroup();
|
||||
}
|
||||
|
||||
});
|
||||
this.popoverController.dismiss('delete');
|
||||
this.modalController.dismiss('delete');
|
||||
|
||||
Reference in New Issue
Block a user