diff --git a/src/data/index.ts b/src/data/index.ts index a37fb58f..4779a810 100644 --- a/src/data/index.ts +++ b/src/data/index.ts @@ -113,8 +113,8 @@ export async function generateCollaborationLink() { return `${window.location.origin}${window.location.pathname}#room=${id},${key}`; } -async function getImportedKey(key: string, usage: string): Promise { - return await window.crypto.subtle.importKey( +function getImportedKey(key: string, usage: string) { + return window.crypto.subtle.importKey( "jwk", { alg: "A128GCM",