Skip to content

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

web: `downloadImages` -> `downloadMedia`

Abdullah Atta56837208d1a3
diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx
index a41c3eea8..e2a829187 100644
--- a/apps/web/src/components/editor/index.tsx
+++ b/apps/web/src/components/editor/index.tsx
@@ -109,7 +109,7 @@ export default function EditorManager({
db.eventManager.subscribe(
EVENTS.syncCompleted,
async () => {
- await db.attachments?.downloadImages(id);
+ await db.attachments?.downloadMedia(id);
},
true
);