@xuda.io/ai_module 1.1.3567 → 1.1.3568

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 +9 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2583,9 +2583,15 @@ export const get_apps = async function (req, job_id, headers) {
2583
2583
  //////////////
2584
2584
 
2585
2585
  const app_id = await account_module.get_account_default_project_id(uid);
2586
- const user_apps = await db_module.get_app_couch_view(app_id, 'studio_mini_apps', {
2587
- include_docs: true,
2588
- });
2586
+ // const user_apps = await db_module.get_app_couch_view(app_id, 'studio_mini_apps', {
2587
+ // include_docs: true,
2588
+ // });
2589
+
2590
+ let user_apps = [];
2591
+ if (filter_type !== 'pending') {
2592
+ user_apps = await db_module.find_app_couch_query(app_id, opt);
2593
+ }
2594
+
2589
2595
  ///////////////
2590
2596
  ////// FROM - IN
2591
2597
  let requests_from = { docs: [] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3567",
3
+ "version": "1.1.3568",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",