@xuda.io/xuda-worker-bundle-min 1.3.807 → 1.3.809
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 +7 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -318,12 +318,6 @@ func.common.db = async function (
|
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
if (dsSession && _session.DS_GLB[dsSession]) {
|
|
322
|
-
if (_session.DS_GLB[dsSession].refreshed) {
|
|
323
|
-
delete _data.filterModel;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
|
|
327
321
|
return cleanString(_data);
|
|
328
322
|
};
|
|
329
323
|
const validate_existence_of_whole_table_request = async function (db) {
|
|
@@ -356,9 +350,15 @@ func.common.db = async function (
|
|
|
356
350
|
return { code: -1, data: table_req_id };
|
|
357
351
|
}
|
|
358
352
|
};
|
|
359
|
-
// data.req_id = "rt_req_" + crypto.randomUUID();
|
|
360
353
|
|
|
361
354
|
const read_dbs_pouch = async function (db) {
|
|
355
|
+
if (_session?.DS_GLB?.[dsSession]?.refreshed && dataP.filterModel) {
|
|
356
|
+
return {
|
|
357
|
+
code: 1,
|
|
358
|
+
data: await func.db.pouch[serviceP](SESSION_ID, data),
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
|
|
362
362
|
const rep_id = get_rep_id();
|
|
363
363
|
|
|
364
364
|
const { code: table_req_code, data: table_req_id } =
|