@xuda.io/ai_module 1.1.4275 → 1.1.4276
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 +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -4211,9 +4211,9 @@ export const create_conversation = async function (req, job_id, headers) {
|
|
|
4211
4211
|
|
|
4212
4212
|
recipient_uid = contact_doc.connection_uid;
|
|
4213
4213
|
|
|
4214
|
-
const app_id = await account_module.get_account_default_project_id(
|
|
4215
|
-
const save_ret = await db_module.save_app_couch_doc(app_id, { ...conversation_doc, ...{ uid:
|
|
4216
|
-
contact_uid_chat_conversation =
|
|
4214
|
+
const app_id = await account_module.get_account_default_project_id(recipient_uid);
|
|
4215
|
+
const save_ret = await db_module.save_app_couch_doc(app_id, { ...conversation_doc, ...{ uid: recipient_uid, reference_id: recipient_contact_id } });
|
|
4216
|
+
contact_uid_chat_conversation = recipient_uid;
|
|
4217
4217
|
}
|
|
4218
4218
|
|
|
4219
4219
|
setTimeout(async () => {
|