@xuda.io/ai_module 1.1.4209 → 1.1.4210

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
@@ -4140,7 +4140,7 @@ export const create_conversation = async function (req, job_id, headers) {
4140
4140
  let { reference_type, reference_id = '', conversation_type } = req;
4141
4141
 
4142
4142
  const account_profile_info = await account_module.get_active_account_profile_info(uid);
4143
-
4143
+ const { account_profile } = account_profile_info;
4144
4144
  try {
4145
4145
  const conversation_obj = await client.conversations.create();
4146
4146
  const t = Date.now();
@@ -4159,7 +4159,7 @@ export const create_conversation = async function (req, job_id, headers) {
4159
4159
  conversation_type,
4160
4160
  initiator_uid: uid,
4161
4161
 
4162
- account_profile_info,
4162
+ account_profiles: [account_profile],
4163
4163
  };
4164
4164
  const save_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, conversation_doc);
4165
4165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4209",
3
+ "version": "1.1.4210",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",