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