mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 14:09:34 +01:00
core: use RequestFetchV2 hub method (#8483)
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user