@xuda.io/account_module 1.2.372 → 1.2.374

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.
Files changed (2) hide show
  1. package/index.mjs +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1195,8 +1195,9 @@ export const get_contacts = async function (req) {
1195
1195
  if (doc.contact_uid) {
1196
1196
  const account_ret = await get_account_name({ uid_query: doc.contact_uid });
1197
1197
  if (account_ret.code < 0) {
1198
- throw new Error(`account ${contact_uid} not found`);
1198
+ continue; // throw new Error(`account ${contact_uid} not found`);
1199
1199
  }
1200
+ doc.profile_avatar = account_ret.data.profile_avatar;
1200
1201
  }
1201
1202
  }
1202
1203
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.372",
3
+ "version": "1.2.374",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {