notherbase-fs 3.0.6 → 3.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/models/spirit.js +1 -1
  2. package/package.json +1 -1
package/models/spirit.js CHANGED
@@ -99,7 +99,7 @@ export default class Spirit {
99
99
  }
100
100
 
101
101
  static delete = async (options = {}, data = {}, id = null) => {
102
- let found = await Spirit.db.findAndDelete(Spirit.buildQuery(options, data, id));
102
+ let found = await Spirit.db.deleteMany(Spirit.buildQuery(options, data, id));
103
103
 
104
104
  return found.deletedCount;
105
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notherbase-fs",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "Functions to help make developing for NotherBase easier.",
5
5
  "exports": "./notherbase-fs.js",
6
6
  "scripts": {