Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: compare with string instead of number

thecodrre241a6d2ae11
diff --git a/apps/web/src/interfaces/crypto.js b/apps/web/src/interfaces/crypto.js
index 5d73af5c9..ead8544e8 100644
--- a/apps/web/src/interfaces/crypto.js
+++ b/apps/web/src/interfaces/crypto.js
@@ -267,7 +267,7 @@ function parseAlgorithm(alg) {
return {
encryptionAlgorithm: enc,
kdfAlgorithm: kdf,
- isCompressed: compressed === 1,
+ isCompressed: compressed === "1",
base64_variant: base64variant,
};
}