core: use RequestFetchV2 hub method (#8483)

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
01zulfi
2025-08-20 11:22:49 +05:00
committed by GitHub
parent 35d08a6dfa
commit 693311a3db

View File

@@ -233,7 +233,7 @@ class Sync {
async fetch(deviceId: string, options: SyncOptions) { async fetch(deviceId: string, options: SyncOptions) {
await this.checkConnection(); await this.checkConnection();
await this.connection?.invoke("RequestFetch", deviceId); await this.connection?.invoke("RequestFetchV2", deviceId);
if (this.conflictedNoteIds.length > 0) { if (this.conflictedNoteIds.length > 0) {
await this.db await this.db