mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-26 20:25:42 +02:00
Websocket connects
This commit is contained in:
parent
aabfa91f80
commit
200e3af384
6 changed files with 38 additions and 14 deletions
|
@ -67,6 +67,8 @@ export class TokenManager {
|
|||
/**
|
||||
* Get the current valid token
|
||||
*/
|
||||
|
||||
// TODO: WE SHOULD NOT BE GETTING A TOKEN EVERY TIME WE REQUEST IT
|
||||
async getToken(): Promise<string> {
|
||||
if (!this.token) {
|
||||
if (this.isRefreshing) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue