@xuda.io/account_module 1.2.1435 → 1.2.1437
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
|
@@ -1329,7 +1329,7 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
|
|
|
1329
1329
|
|
|
1330
1330
|
doc.interactions = 0;
|
|
1331
1331
|
doc.chats = 0;
|
|
1332
|
-
|
|
1332
|
+
|
|
1333
1333
|
const chats_ret = await ai_module.get_ai_chats({ uid, reference_id: doc._id });
|
|
1334
1334
|
for (let chat_doc of chats_ret.data.docs) {
|
|
1335
1335
|
doc.notifications += chat_doc.notifications;
|
|
@@ -2154,7 +2154,7 @@ const set_account_profile_picture = async function (uid, account_uid, metadata,
|
|
|
2154
2154
|
const set_contact_profile_picture = async function (uid, contact_id, metadata, job_id, headers) {
|
|
2155
2155
|
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
2156
2156
|
const account_profile_info = await get_active_account_profile_info(uid);
|
|
2157
|
-
|
|
2157
|
+
debugger;
|
|
2158
2158
|
await update_contact_profile_picture_status(uid, contact_id, 1);
|
|
2159
2159
|
try {
|
|
2160
2160
|
let profile_picture;
|