Skip to content

Build your personal knowledge base with Trilium Notes

remove unused param

Nriver5ea3e67dc307
diff --git a/dump-db/inc/data_key.ts b/dump-db/inc/data_key.ts
index 35594926ae..ed6d959043 100644
--- a/dump-db/inc/data_key.ts
+++ b/dump-db/inc/data_key.ts
@@ -12,7 +12,7 @@ function getDataKey(password: any) {
const encryptedDataKey = getOption("encryptedDataKey");
- const decryptedDataKey = decryptService.decrypt(passwordDerivedKey, encryptedDataKey, 16);
+ const decryptedDataKey = decryptService.decrypt(passwordDerivedKey, encryptedDataKey);
return decryptedDataKey;
} catch (e: any) {