@xuda.io/ai_module 1.1.3660 → 1.1.3661
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1812,7 +1812,7 @@ export const get_ai_chats = async function (req, job_id, headers) {
|
|
|
1812
1812
|
if (filter_type === 'pending') {
|
|
1813
1813
|
const from_opt = { selector: { docType: 'team_request', access_type: 'chat', 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'] };
|
|
1814
1814
|
const requests_from_res = await db_module.find_couch_query('xuda_team', from_opt);
|
|
1815
|
-
|
|
1815
|
+
|
|
1816
1816
|
for await (let e of requests_from_res.docs) {
|
|
1817
1817
|
let doc = { date_created: e.team_req_date, pending: true, uid: e.team_req_from_uid, team_req_id: e._id };
|
|
1818
1818
|
|