Skip to content

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

web: send contentId when saving a note's content

Abdullah Attab12a0e979c8b
diff --git a/apps/web/src/stores/editor-store.ts b/apps/web/src/stores/editor-store.ts
index b14f1bc8b..23a99c4ad 100644
--- a/apps/web/src/stores/editor-store.ts
+++ b/apps/web/src/stores/editor-store.ts
@@ -721,6 +721,10 @@ class EditorStore extends BaseStore<EditorStore> {
partial.ignoreEdit && currentSession.type === "default"
? currentSession.note.dateEdited
: undefined,
+ contentId:
+ currentSession.type === "default"
+ ? currentSession.note.contentId
+ : undefined,
content: partial.content,
sessionId,
id