diff --git a/platforms/src/utils/passport-cache.ts b/platforms/src/utils/passport-cache.ts index 3f554b8335..fb21c8f7ee 100644 --- a/platforms/src/utils/passport-cache.ts +++ b/platforms/src/utils/passport-cache.ts @@ -15,6 +15,7 @@ export class PassportCache { } async init(): Promise { + if (this.client.isReady) return await Promise.resolve(); await this.connect(); }