@xuda.io/account_module 1.2.395 → 1.2.397
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
|
@@ -1219,6 +1219,7 @@ export const get_contacts = async function (req) {
|
|
|
1219
1219
|
continue; // throw new Error(`account ${contact_uid} not found`);
|
|
1220
1220
|
}
|
|
1221
1221
|
doc.profile_avatar = account_ret.data.profile_avatar;
|
|
1222
|
+
doc.name = `${account_ret.data.profile_avatar}`;
|
|
1222
1223
|
}
|
|
1223
1224
|
requests_to.docs.push(doc);
|
|
1224
1225
|
}
|
|
@@ -1231,7 +1232,7 @@ export const get_contacts = async function (req) {
|
|
|
1231
1232
|
code: 1,
|
|
1232
1233
|
data: {
|
|
1233
1234
|
docs: [
|
|
1234
|
-
...requests_to.docs
|
|
1235
|
+
...requests_to.docs,
|
|
1235
1236
|
...requests_from.docs.map((e) => ({
|
|
1236
1237
|
docType: 'contact',
|
|
1237
1238
|
date_created: e.team_req_date,
|