diff --git a/packages/core/videoClient.ts b/packages/core/videoClient.ts index edec7f0553..f9d1e3e88f 100644 --- a/packages/core/videoClient.ts +++ b/packages/core/videoClient.ts @@ -134,13 +134,19 @@ const deleteMeeting = (credential: CredentialPayload, uid: string): Promise { + let dailyAppKeys: Awaited>; + try { + dailyAppKeys = await getDailyAppKeys(); + } catch (e) { + return; + } const [videoAdapter] = getVideoAdapters([ { id: 0, appId: "daily-video", type: "daily_video", userId: null, - key: await getDailyAppKeys(), + key: dailyAppKeys, }, ]); return videoAdapter?.createMeeting(calEvent);