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.
- package/models/spirit.js +1 -1
- 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.
|
|
102
|
+
let found = await Spirit.db.deleteMany(Spirit.buildQuery(options, data, id));
|
|
103
103
|
|
|
104
104
|
return found.deletedCount;
|
|
105
105
|
}
|