@xuda.io/ai_module 1.1.4191 → 1.1.4192
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4369,7 +4369,7 @@ const update_conversation_mood_level = async function (conversation_id, prompt,
|
|
|
4369
4369
|
throw new Error('receiver contact id not found');
|
|
4370
4370
|
}
|
|
4371
4371
|
const receiver_contact_id = receiver_contact_ret?.rows[0].id;
|
|
4372
|
-
let receiver_contact_doc = await
|
|
4372
|
+
let receiver_contact_doc = await account_module.get_contact(receiver_uid, receiver_contact_id);
|
|
4373
4373
|
receiver_contact_doc.contact_mood_level = mood_level_obj.mood_level;
|
|
4374
4374
|
receiver_contact_doc.ts = Date.now();
|
|
4375
4375
|
await db_module.save_couch_doc_native('xuda_contacts', receiver_contact_doc);
|