fix: repair notebook references in notes on sync

This commit is contained in:
thecodrr
2021-11-12 10:32:25 +05:00
parent b139623420
commit e608eaaedf
6 changed files with 44 additions and 16 deletions

View File

@@ -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();
}
}