Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarasikee committed Aug 7, 2022
1 parent 9226619 commit 12f61e7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export class Instance<T extends { _id: string }> {
const db = FileUtils.readJson<T>("./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
Expand Down

0 comments on commit 12f61e7

Please sign in to comment.