@sdflc/backend-helpers 1.0.67 → 1.0.69
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/build/BaseCore.js
CHANGED
|
@@ -191,7 +191,7 @@ class BaseCore {
|
|
|
191
191
|
return result;
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
else if (requireSpace
|
|
194
|
+
else if (requireSpace == null || requireSpace === true) {
|
|
195
195
|
this.measureTool.addCheckpoint('Find space: start');
|
|
196
196
|
const [spaceResult, errMsg] = yield this.findSpace();
|
|
197
197
|
this.measureTool.addCheckpoint('Find space: end');
|
|
@@ -227,7 +227,7 @@ class BaseCore {
|
|
|
227
227
|
}
|
|
228
228
|
let time = this.measureTool.stop();
|
|
229
229
|
this.logger.debug(`Authorization and validation time for the ${doingWhat} took ${time.durationMs} ms`);
|
|
230
|
-
const result = yield action(args, Object.assign(Object.assign({}, actionOpt), { validatedItems }));
|
|
230
|
+
const result = yield action(args, Object.assign(Object.assign({}, actionOpt), { validatedItems, args }));
|
|
231
231
|
yield this.checkResult({ hasTransaction, result, sameRequest, doingWhat });
|
|
232
232
|
time = this.measureTool.stop(doingWhat);
|
|
233
233
|
this.logger.debug(`The ${time.name} process time is ${time.durationMs} ms`);
|
package/package.json
CHANGED