@xuda.io/ai_module 1.1.4106 → 1.1.4107

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/old.mjs +9 -0
  2. package/package.json +1 -1
package/old.mjs CHANGED
@@ -1821,3 +1821,12 @@ export const get_apps = async function (req, job_id, headers) {
1821
1821
  return { code: -11, data: err.message };
1822
1822
  }
1823
1823
  };
1824
+
1825
+ ///////// profile /////////
1826
+ from_opt.access_type = 'account_profile';
1827
+ from_opt.access_type = 3;
1828
+ const profile_requests_from_res = await db_module.find_couch_query('xuda_team', from_opt);
1829
+ for await (let account_profile of profile_requests_from_res.docs) {
1830
+ if (!account_profile.access_view.includes('apps')) continue;
1831
+ }
1832
+ ///////////////////////////
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4106",
3
+ "version": "1.1.4107",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",