@xuda.io/ai_module 1.1.3759 → 1.1.3760
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.
- package/index.mjs +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2810,8 +2810,9 @@ export const get_apps = async function (req, job_id, headers) {
|
|
|
2810
2810
|
debugger;
|
|
2811
2811
|
///////////////
|
|
2812
2812
|
////// FROM - IN
|
|
2813
|
+
|
|
2814
|
+
let requests_from = { docs: [] };
|
|
2813
2815
|
if (!mini_app_id) {
|
|
2814
|
-
let requests_from = { docs: [] };
|
|
2815
2816
|
if (filter_type === 'pending') {
|
|
2816
2817
|
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'] };
|
|
2817
2818
|
const requests_from_res = await db_module.find_couch_query('xuda_team', from_opt);
|