@xuda.io/ai_module 1.1.3950 → 1.1.3952
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2450,7 +2450,7 @@ export const get_ai_agents = async function (req, job_id, headers) {
|
|
|
2450
2450
|
if (!limit || ai_agent_id) {
|
|
2451
2451
|
user_agents.total_docs = user_agents.docs.length;
|
|
2452
2452
|
}
|
|
2453
|
-
|
|
2453
|
+
else {
|
|
2454
2454
|
delete opt.sort;
|
|
2455
2455
|
delete opt.skip;
|
|
2456
2456
|
opt.limit = 9999;
|
|
@@ -6407,6 +6407,8 @@ export const create_mini_app = async function (req) {
|
|
|
6407
6407
|
setTimeout(async () => {
|
|
6408
6408
|
await update_thumbnail('mini_app', component_doc, app_id, uid, job_id, headers);
|
|
6409
6409
|
}, 500);
|
|
6410
|
+
|
|
6411
|
+
data.doc = component_doc;
|
|
6410
6412
|
return { code: 33, data };
|
|
6411
6413
|
} catch (err) {
|
|
6412
6414
|
return { code: -33, data: err.message || String(err) };
|