@xuda.io/ai_module 1.1.3944 → 1.1.3946
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -6400,8 +6400,9 @@ export const create_mini_app = async function (req) {
|
|
|
6400
6400
|
component_doc.studio_meta.miniApp = true;
|
|
6401
6401
|
const data = await db_module.save_app_couch_doc_native(app_id, component_doc);
|
|
6402
6402
|
setTimeout(async () => {
|
|
6403
|
-
await update_thumbnail('
|
|
6403
|
+
await update_thumbnail('mini_app', agent_doc, app_id, uid, job_id, headers);
|
|
6404
6404
|
}, 500);
|
|
6405
|
+
return { code: 33, data };
|
|
6405
6406
|
} catch (err) {
|
|
6406
6407
|
return { code: -33, data: err.message || String(err) };
|
|
6407
6408
|
}
|