@xuda.io/ai_module 1.1.3949 → 1.1.3951
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
|
@@ -6405,8 +6405,10 @@ export const create_mini_app = async function (req) {
|
|
|
6405
6405
|
component_doc.properties.menuTitle = name;
|
|
6406
6406
|
const data = await db_module.save_app_couch_doc_native(app_id, component_doc);
|
|
6407
6407
|
setTimeout(async () => {
|
|
6408
|
-
await update_thumbnail('mini_app',
|
|
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) };
|