@xuda.io/ai_module 1.1.3923 → 1.1.3925

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.mjs +2 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2795,17 +2795,15 @@ export const get_apps = async function (req, job_id, headers) {
2795
2795
 
2796
2796
  const app_id = await account_module.get_account_default_project_id(uid);
2797
2797
 
2798
- let user_apps = { docs: [] };
2798
+ let user_apps = { docs: [], total_docs: 0 };
2799
2799
  if (filter_type !== 'pending') {
2800
2800
  user_apps = await db_module.find_app_couch_query(app_id, opt);
2801
2801
  }
2802
- // console.log('>>>>>opt', opt);
2803
- // debugger;
2804
2802
 
2805
2803
  ///////////////
2806
2804
  ////// FROM - IN
2807
2805
 
2808
- let requests_from = { docs: [] };
2806
+ let requests_from = { docs: [], total_docs: 0 };
2809
2807
  if (!mini_app_id) {
2810
2808
  if (filter_type === 'pending') {
2811
2809
  const from_opt = { selector: { docType: 'team_request', access_type: 'miniapp', team_req_stat: 2, team_req_to_uid: uid }, fields: ['_id', 'team_req_date', 'sender_account_info.email', 'team_req_from_uid', 'share_item_id'] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3923",
3
+ "version": "1.1.3925",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",