@xuda.io/ai_module 1.1.4102 → 1.1.4103

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 +8 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2873,7 +2873,7 @@ export const get_apps = async function (req, job_id, headers) {
2873
2873
  let requests_from = { docs: [], total_docs: 0 };
2874
2874
  if (!mini_app_id) {
2875
2875
  if (filter_type !== 'mine') {
2876
- const from_opt = { selector: { docType: 'team_request', access_type: 'miniapp', team_req_stat: filter_type === 'pending' ? 2 : 3, team_req_to_uid: uid }, fields: ['_id', 'team_req_date', 'sender_account_info.email', 'team_req_from_uid', 'share_item_id'] };
2876
+ let from_opt = { selector: { docType: 'team_request', access_type: 'miniapp', team_req_stat: filter_type === 'pending' ? 2 : 3, team_req_to_uid: uid }, fields: ['_id', 'team_req_date', 'sender_account_info.email', 'team_req_from_uid', 'share_item_id'] };
2877
2877
  const requests_from_res = await db_module.find_couch_query('xuda_team', from_opt);
2878
2878
 
2879
2879
  for await (let e of requests_from_res.docs) {
@@ -2892,6 +2892,13 @@ export const get_apps = async function (req, job_id, headers) {
2892
2892
 
2893
2893
  requests_from.docs.push(doc);
2894
2894
  }
2895
+
2896
+ ///////// profile /////////
2897
+ from_opt.access_type = 'account_profile';
2898
+ from_opt.access_type = 3;
2899
+
2900
+ ///////////////////////////
2901
+
2895
2902
  requests_from.total_docs = requests_from.docs.length;
2896
2903
  }
2897
2904
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4102",
3
+ "version": "1.1.4103",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",