@xuda.io/ai_module 1.1.4013 → 1.1.4014

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
@@ -6404,9 +6404,9 @@ export const pin_ai_agent = async function (req) {
6404
6404
 
6405
6405
  ai_agent_doc.studio_meta.pinned = true;
6406
6406
 
6407
- const contact_save_ret = await db_module.save_couch_doc('xuda_contacts', contact_doc);
6407
+ const save_ret = await db_module.save_app_couch_doc(app_id, ai_agent_doc);
6408
6408
 
6409
- return contact_save_ret;
6409
+ return save_ret;
6410
6410
  } catch (err) {
6411
6411
  return {
6412
6412
  code: -24,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/ai_module",
3
- "version": "1.1.4013",
3
+ "version": "1.1.4014",
4
4
  "description": "Xuda AI Module",
5
5
  "main": "index.mjs",
6
6
  "type": "module",