@xuda.io/xuda-worker-bundle-min 1.3.428 → 1.3.429
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -280,7 +280,7 @@ func.common.db = async function (
|
|
|
280
280
|
|
|
281
281
|
return cleanString(_data);
|
|
282
282
|
};
|
|
283
|
-
const validate_existence_of_whole_table_request = async function () {
|
|
283
|
+
const validate_existence_of_whole_table_request = async function (db) {
|
|
284
284
|
let table_req_id;
|
|
285
285
|
try {
|
|
286
286
|
table_req_id = cleanString({
|
|
@@ -327,7 +327,7 @@ func.common.db = async function (
|
|
|
327
327
|
////// validate existence of whole table request
|
|
328
328
|
|
|
329
329
|
const { code: table_req_code, data: table_req_id } =
|
|
330
|
-
await validate_existence_of_whole_table_request();
|
|
330
|
+
await validate_existence_of_whole_table_request(db);
|
|
331
331
|
if (table_req_code > 0) {
|
|
332
332
|
return await func.db.pouch[serviceP](SESSION_ID, data);
|
|
333
333
|
}
|