@xuda.io/ai_module 1.1.3591 → 1.1.3593

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 +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2724,7 +2724,7 @@ export const get_apps = async function (req, job_id, headers) {
2724
2724
  let docs = [];
2725
2725
  for (let doc of user_apps.docs) {
2726
2726
  // let doc = row.value;
2727
- doc._id = row.id;
2727
+ // doc._id = row.id;
2728
2728
 
2729
2729
  if (!doc?.studio_meta?.agent_image?.length && (!doc?.studio_meta?.thumbnail_request_ts || Date.now() - doc?.studio_meta?.thumbnail_request_ts > 120000)) {
2730
2730
  if (headers) {
@@ -5698,7 +5698,7 @@ export const modify_profile_avatar = async function (req, job_id, headers) {
5698
5698
  }
5699
5699
  };
5700
5700
 
5701
- const delete_depended_chats = async function (reference_id) {
5702
- const chats_ret = await get_ai_chats({ reference_id }, job_id, headers);
5701
+ const delete_depended_chats = async function (uid, reference_id) {
5702
+ const chats_ret = await get_ai_chats({ uid, reference_id }, job_id, headers);
5703
5703
  console.log(chats_ret);
5704
5704
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.3591",
3
+ "version": "1.1.3593",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",