Skip to content

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

fix: all images being empty

thecodrr0b7ddcbc381c
diff --git a/apps/web/src/interfaces/fs.js b/apps/web/src/interfaces/fs.js
index 1493c4ff9..9b2f4667b 100644
--- a/apps/web/src/interfaces/fs.js
+++ b/apps/web/src/interfaces/fs.js
@@ -147,7 +147,7 @@ async function readEncrypted(filename, key, cipherData) {
return value;
},
write: async (chunk) => {
- plainText.set(chunk, offset);
+ plainText.set(chunk.data, offset);
offset += chunk.data.length;
},
},