diff --git a/src/Instance.ts b/src/Instance.ts index 2d51008..b2fbcef 100644 --- a/src/Instance.ts +++ b/src/Instance.ts @@ -23,7 +23,6 @@ export class Instance { const db = FileUtils.readJson("./database/db.json") const filtered_table = db[this._schema.name] .filter(row => row._id !== this._fields._id) - FileUtils.writeJson("./database/db.json", { ...db, [this._schema.name]: filtered_table