notherbase-fs 4.4.5 → 4.4.6

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.
@@ -177,7 +177,7 @@ export default class SpiritWorld {
177
177
 
178
178
  // save the spirit with the given service name and parent
179
179
  let spirit = null;
180
- if (id !== "new") await req.db.Spirit.recallOne(req.body.service, parent, {}, id);
180
+ if (id !== "new") spirit = await req.db.Spirit.recallOne(req.body.service, parent, {}, id);
181
181
 
182
182
  if (spirit) {
183
183
  // update existing spirit
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notherbase-fs",
3
- "version": "4.4.5",
3
+ "version": "4.4.6",
4
4
  "description": "Functions to help make developing for NotherBase easier.",
5
5
  "exports": "./notherbase-fs.js",
6
6
  "scripts": {