@xuda.io/ai_module 1.1.4015 → 1.1.4016

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
@@ -6402,10 +6402,10 @@ export const create_mini_app = async function (req, job_id, headers) {
6402
6402
  };
6403
6403
 
6404
6404
  export const pin_ai_agent = async function (req) {
6405
- const { uid, ai_agent_id } = req;
6405
+ const { uid, agent_id } = req;
6406
6406
  try {
6407
6407
  const app_id = await account_module.get_account_default_project_id(uid);
6408
- const ai_agent_doc = await db_module.get_app_couch_doc_native(app_id, ai_agent_id);
6408
+ const ai_agent_doc = await db_module.get_app_couch_doc_native(app_id, agent_id);
6409
6409
 
6410
6410
  ai_agent_doc.studio_meta.pinned = true;
6411
6411
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4015",
3
+ "version": "1.1.4016",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",