@xuda.io/ai_module 1.1.3723 → 1.1.3725
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2361,7 +2361,7 @@ export const get_ai_agent_info = async function (uid, job_id, headers, doc, from
|
|
|
2361
2361
|
doc.border = get_contact_border(doc);
|
|
2362
2362
|
doc.card_background = get_background(doc);
|
|
2363
2363
|
doc.icon_pattern = 'ai-agent-pattern.png';
|
|
2364
|
-
|
|
2364
|
+
|
|
2365
2365
|
if (!from_marketplace) {
|
|
2366
2366
|
if (doc.studio_meta.shared_from_uid) {
|
|
2367
2367
|
const shared_from_uid_ret = await account_module.get_account_name({ uid_query: doc.studio_meta.shared_from_uid });
|
|
@@ -2445,7 +2445,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2445
2445
|
if (filter_type === 'pending') {
|
|
2446
2446
|
const from_opt = { selector: { docType: 'team_request', access_type: 'ai_agent', 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'] };
|
|
2447
2447
|
const requests_from_res = await db_module.find_couch_query('xuda_team', from_opt);
|
|
2448
|
-
|
|
2448
|
+
debugger;
|
|
2449
2449
|
for await (let e of requests_from_res.docs) {
|
|
2450
2450
|
let doc = { ts: e.team_req_date, pending: true, properties: {}, studio_meta: { createdByUid: e.team_req_from_uid }, team_req_id: e._id };
|
|
2451
2451
|
|