mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
fix: repair all notebook references on sync/backup
This commit is contained in:
@@ -142,6 +142,7 @@ export default class Backup {
|
||||
|
||||
if (await this._migrator.migrate(collections, (id) => data[id], version)) {
|
||||
await this._db.notes.repairReferences();
|
||||
await this._db.notebooks.repairReferences();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user