@xuda.io/ai_module 1.1.4190 → 1.1.4191
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
|
@@ -4348,7 +4348,7 @@ const update_conversation_mood_level = async function (conversation_id, prompt,
|
|
|
4348
4348
|
throw new Error('sender contact id not found');
|
|
4349
4349
|
}
|
|
4350
4350
|
const sender_contact_id = sender_contact_ret?.rows[0].id;
|
|
4351
|
-
let sender_contact_doc = await
|
|
4351
|
+
let sender_contact_doc = await account_module.get_contact(sender_uid, sender_contact_id);
|
|
4352
4352
|
sender_contact_doc.contact_mood_level = mood_level_obj.mood_level;
|
|
4353
4353
|
sender_contact_doc.ts = Date.now();
|
|
4354
4354
|
await db_module.save_couch_doc_native('xuda_contacts', sender_contact_doc);
|