@xuda.io/ai_module 1.1.3602 → 1.1.3603
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
|
@@ -2448,7 +2448,7 @@ export const delete_ai_agent = async function (req) {
|
|
|
2448
2448
|
await client.files.delete(file_id);
|
|
2449
2449
|
}
|
|
2450
2450
|
}
|
|
2451
|
-
delete_depended_chats(
|
|
2451
|
+
delete_depended_chats(uid, agent_id);
|
|
2452
2452
|
return { code: 9, data };
|
|
2453
2453
|
} catch (err) {
|
|
2454
2454
|
return { code: -9, data: err.message };
|
|
@@ -2555,7 +2555,7 @@ export const delete_mini_app = async function (req) {
|
|
|
2555
2555
|
prog_doc.stat = 4;
|
|
2556
2556
|
prog_doc.ts = Date.now();
|
|
2557
2557
|
const save_ret = await db_module.save_app_couch_doc(app_id, prog_doc);
|
|
2558
|
-
|
|
2558
|
+
delete_depended_chats(uid, prog_id);
|
|
2559
2559
|
return save_ret;
|
|
2560
2560
|
} catch (err) {
|
|
2561
2561
|
return { code: -9, data: err.message };
|