@xuda.io/account_module 1.2.351 → 1.2.353
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
|
@@ -1148,7 +1148,7 @@ export const get_contacts = async function (req) {
|
|
|
1148
1148
|
},
|
|
1149
1149
|
limit: limit ? limit : 99999,
|
|
1150
1150
|
};
|
|
1151
|
-
|
|
1151
|
+
debugger;
|
|
1152
1152
|
if (typeof name !== 'undefined') {
|
|
1153
1153
|
opt.selector.name = { $regex: `(?i)${name}` };
|
|
1154
1154
|
}
|
|
@@ -1192,7 +1192,7 @@ export const get_contacts = async function (req) {
|
|
|
1192
1192
|
code: 1,
|
|
1193
1193
|
data: {
|
|
1194
1194
|
docs: [
|
|
1195
|
-
...requests_from_ret.docs.map((e) => ({ docType: 'contact', date_created: e.team_req_date, email: [e.team_req_to_email], name: '', profile_avatar: anonymous_image_url, pending: true, uid: e.team_req_from_uid, team_req_id: e._id })),
|
|
1195
|
+
...requests_from_ret.docs.map((e) => ({ docType: 'contact', date_created: e.team_req_date, email: [e.team_req_to_email], name: '', profile_avatar: _conf.anonymous_image_url, pending: true, uid: e.team_req_from_uid, team_req_id: e._id })),
|
|
1196
1196
|
...requests_to_ret.docs.map((e) => ({
|
|
1197
1197
|
docType: 'contact',
|
|
1198
1198
|
date_created: e.team_req_date,
|