@xuda.io/account_module 1.2.509 → 1.2.510
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
|
@@ -1269,7 +1269,7 @@ export const get_contact_info = async function (contact_doc, _id) {
|
|
|
1269
1269
|
return; // throw new Error(`account ${contact_uid} not found`);
|
|
1270
1270
|
}
|
|
1271
1271
|
|
|
1272
|
-
doc.profile_avatar = account_info_ret.data.profile_avatar;
|
|
1272
|
+
doc.profile_avatar = account_info_ret.data.profile_avatar;
|
|
1273
1273
|
doc.card_background = get_contact_background(doc);
|
|
1274
1274
|
|
|
1275
1275
|
//membership_plan
|
|
@@ -1291,7 +1291,7 @@ export const get_contact_info = async function (contact_doc, _id) {
|
|
|
1291
1291
|
doc.icon_pattern = get_contact_pattern(doc);
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
|
-
const chats_ret=await get_ai_chats({uid,doc._id})
|
|
1294
|
+
const chats_ret = await get_ai_chats({ uid, reference_id: doc._id });
|
|
1295
1295
|
|
|
1296
1296
|
doc.border = get_contact_border(doc);
|
|
1297
1297
|
if (!doc.name) {
|