mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix: auto clear of trash after 7 days
We were getting this error: `Cannot read property 'remove' of undefined`
This commit is contained in:
@@ -54,12 +54,12 @@ class Database {
|
||||
this.tags = await Tags.new(this, "tags");
|
||||
/** @type {Tags} */
|
||||
this.colors = await Tags.new(this, "colors");
|
||||
/** @type {Trash} */
|
||||
this.trash = await Trash.new(this, "trash");
|
||||
/** @type {Content} */
|
||||
this.delta = await Content.new(this, "delta", false);
|
||||
/** @type {Content} */
|
||||
this.text = await Content.new(this, "text", false);
|
||||
/** @type {Trash} */
|
||||
this.trash = await Trash.new(this, "trash");
|
||||
|
||||
await this.user.sync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user