From c21effa5fa99a9b60a69444d4ccebfd229dfccae Mon Sep 17 00:00:00 2001 From: Marco Crapts Date: Mon, 29 May 2023 22:10:27 +0200 Subject: [PATCH] small update --- src/composables/useEncryption.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useEncryption.ts b/src/composables/useEncryption.ts index df04c99..8e087f7 100644 --- a/src/composables/useEncryption.ts +++ b/src/composables/useEncryption.ts @@ -145,7 +145,7 @@ export const enableEncryption = async (passphrase: string) => { encryptedEncryptionKey.value = candidateEncryptedEncryptionKey encryptionKey.value = candidateEncryptionKey setClientKey(passphrase) - syncNotesToFirebase(baseNotes.value) + await syncNotesToFirebase(baseNotes.value) } export const clearEncryptionKeys = () => {