@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.
- package/index.mjs +2 -1
- 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
|
|