mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-14 03:56:54 +00:00
Websocket connects
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user