@xuda.io/ai_module 1.1.4216 → 1.1.4217

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
@@ -1713,9 +1713,9 @@ export const get_chat_conversation = async function (req) {
1713
1713
  };
1714
1714
 
1715
1715
  export const get_ai_chats = async function (req, job_id, headers) {
1716
- let { uid, reference_id, _id, search, filter_type = 'all', conversation_type, limit, skip, conversation_id } = req;
1716
+ let { uid, reference_id, _id, search, filter_type = 'all', conversation_type, limit, skip, conversation_id, profile_id } = req;
1717
1717
 
1718
- const account_profile_info = await account_module.get_active_account_profile_info(uid);
1718
+ const account_profile_info = await account_module.get_active_account_profile_info(uid, profile_id);
1719
1719
 
1720
1720
  const get_conversation_background = function (doc) {
1721
1721
  let deg = 145;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4216",
3
+ "version": "1.1.4217",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",