@xuda.io/account_module 1.2.342 → 1.2.344
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 +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1181,13 +1181,13 @@ export const get_contacts = async function (req) {
|
|
|
1181
1181
|
let requests_to_ret = { docs: [] };
|
|
1182
1182
|
|
|
1183
1183
|
if (with_requests) {
|
|
1184
|
-
requests_from_ret = await db_module.find_couch_query('xuda_team', { selector: { docType: 'team_request', access_type: 'contact', team_req_stat: 2, team_req_from_uid: uid }, fields: ['team_req_date', 'team_req_to_email', 'team_req_from_uid'] });
|
|
1184
|
+
requests_from_ret = await db_module.find_couch_query('xuda_team', { selector: { docType: 'team_request', access_type: 'contact', team_req_stat: 2, team_req_from_uid: uid }, fields: ['_id', 'team_req_date', 'team_req_to_email', 'team_req_from_uid'] });
|
|
1185
1185
|
requests_to_ret = await db_module.find_couch_query('xuda_team', {
|
|
1186
1186
|
selector: { docType: 'team_request', access_type: 'contact', team_req_stat: 2, team_req_to_uid: uid },
|
|
1187
|
-
fields: ['team_req_date', 'team_req_to_email', 'sender_account_info.email', 'sender_account_info.first_name', 'sender_account_info.last_name', 'sender_account_info.profile_avatar'],
|
|
1187
|
+
fields: ['_id', 'team_req_date', 'team_req_to_email', 'sender_account_info.email', 'sender_account_info.first_name', 'sender_account_info.last_name', 'sender_account_info.profile_avatar'],
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
|
-
|
|
1190
|
+
debugger;
|
|
1191
1191
|
return {
|
|
1192
1192
|
code: 1,
|
|
1193
1193
|
data: {
|