fix(data): removes unnecessary await (#1549)

pull/1554/head
Justin Greenberg 5 years ago committed by GitHub
parent 028f9b4b88
commit e27f3f9ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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<CryptoKey> {
return await window.crypto.subtle.importKey(
function getImportedKey(key: string, usage: string) {
return window.crypto.subtle.importKey(
"jwk",
{
alg: "A128GCM",

Loading…
Cancel
Save