mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 22:19:41 +01:00
refactor: seperate note add & merging
This commit is contained in:
@@ -137,7 +137,7 @@ class Merger {
|
||||
await this._mergeArray(
|
||||
notes,
|
||||
(id) => this._db.notes.note(id),
|
||||
(item) => this._db.notes.add(item)
|
||||
(item) => this._db.notes.merge(item)
|
||||
);
|
||||
|
||||
await this._mergeArray(
|
||||
|
||||
Reference in New Issue
Block a user