@xuda.io/ai_module 1.1.4148 → 1.1.4149

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.
Files changed (2) hide show
  1. package/index.mjs +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -4372,7 +4372,7 @@ const contact_chat_conversation = async function (req, job_id, headers) {
4372
4372
 
4373
4373
  const sender_contact_doc = await account_module.get_contact_info(uid, null, conversation_doc.reference_id);
4374
4374
  // const sender_app_id = await account_module.get_account_default_project_id(uid);
4375
- const sender_app_id = conversation_doc..app_id
4375
+ const sender_app_id = conversation_doc.account_profile_info.app_id;
4376
4376
  let sender_conversation_doc = await db_module.get_app_couch_doc_native(sender_app_id, conversation_id);
4377
4377
 
4378
4378
  const item = await client.conversations.items.create(conversation_id, {
@@ -4410,7 +4410,7 @@ const chat_note = async function (req, job_id, headers) {
4410
4410
 
4411
4411
  // account_module.ts_contact(conversation_doc.reference_id);
4412
4412
 
4413
- const sender_app_id = await account_module.get_account_default_project_id(uid);
4413
+ const sender_app_id = conversation_doc.account_profile_info.app_id; //await account_module.get_account_default_project_id(uid);
4414
4414
  let sender_conversation_doc = await db_module.get_app_couch_doc_native(sender_app_id, conversation_id);
4415
4415
 
4416
4416
  await attachment_handler(uid, sender_app_id, conversation_id, attachments);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4148",
3
+ "version": "1.1.4149",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",