This commit is contained in:
Peter Maquiran
2022-12-19 15:48:40 +01:00
parent c96ad9de0a
commit 288041e144
10 changed files with 30 additions and 12 deletions
+6 -2
View File
@@ -392,9 +392,13 @@ export class ChatService {
}
} else {
} else if (!this.headers) {
this.setheader()
await this.refreshtoken();
this.refreshtoken()
} else {
setTimeout(async ()=>{
await this.refreshtoken();
}, 4000)
}
}