A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: auto clear of trash after 7 days
thecodrr9c5fa7e88d3d
diff --git a/packages/core/api/index.js b/packages/core/api/index.jsindex af8b15a70..603c4b012 100644--- a/packages/core/api/index.js+++ b/packages/core/api/index.js@@ -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();}