@xuda.io/xuda-worker-bundle-min 1.3.812 → 1.3.814

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.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -339,7 +339,10 @@ func.common.db = async function (
339
339
  };
340
340
 
341
341
  const read_dbs_pouch = async function (db) {
342
- if (_session?.DS_GLB?.[dsSession]?.refreshed && dataP.filterModel) {
342
+ if (
343
+ _session?.DS_GLB?.[dsSession]?.refreshed &&
344
+ (dataP.filterModelMongo || dataP.filterModelSql)
345
+ ) {
343
346
  return {
344
347
  code: 1,
345
348
  data: await func.db.pouch[serviceP](SESSION_ID, data),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle-min",
3
- "version": "1.3.812",
3
+ "version": "1.3.814",
4
4
  "description": "xuda framework min",
5
5
  "main": "index.js",
6
6
  "scripts": {