Skip to content

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

core: use RequestFetchV2 hub method (#8483)

01zulfi693311a3db43
diff --git a/packages/core/src/api/sync/index.ts b/packages/core/src/api/sync/index.ts
index 6698dd052..995389f23 100644
--- a/packages/core/src/api/sync/index.ts
+++ b/packages/core/src/api/sync/index.ts
@@ -233,7 +233,7 @@ class Sync {
async fetch(deviceId: string, options: SyncOptions) {
await this.checkConnection();
- await this.connection?.invoke("RequestFetch", deviceId);
+ await this.connection?.invoke("RequestFetchV2", deviceId);
if (this.conflictedNoteIds.length > 0) {
await this.db