@xuda.io/ai_module 1.1.5585 → 1.1.5587
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.
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2160,7 +2160,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2160
2160
|
//////////////////////
|
|
2161
2161
|
|
|
2162
2162
|
let docs = [];
|
|
2163
|
-
|
|
2163
|
+
|
|
2164
2164
|
for (let doc of user_agents.docs) {
|
|
2165
2165
|
let reference_doc;
|
|
2166
2166
|
// shares
|
|
@@ -2320,7 +2320,7 @@ export const archive_ai_agent = async function (req) {
|
|
|
2320
2320
|
if (agent_doc.studio_meta.createdByUid !== uid && agent_doc?.studio_meta?.account_profile_info?.uid !== uid) {
|
|
2321
2321
|
throw new Error('Operation not allowed');
|
|
2322
2322
|
}
|
|
2323
|
-
|
|
2323
|
+
debugger;
|
|
2324
2324
|
agent_doc.stat = 5;
|
|
2325
2325
|
agent_doc.ts = Date.now();
|
|
2326
2326
|
const save_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, agent_doc);
|