@xuda.io/ai_module 1.1.3941 → 1.1.3943
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -6395,8 +6395,9 @@ export const create_mini_app = async function (req) {
|
|
|
6395
6395
|
const { uid, prompt } = req;
|
|
6396
6396
|
try {
|
|
6397
6397
|
const { account_project_id: app_id, account_info } = await account_module.get_default_project_account_doc(uid);
|
|
6398
|
-
const param = { uid, properties: { menuName:
|
|
6399
|
-
|
|
6398
|
+
const param = { uid, properties: { menuName: '', menuTitle: '', menuType: 'component' }, checkedInUserName: account_info.first_name + ' ' + account_info.last_name, app_id, parentId: 'programs' };
|
|
6399
|
+
let component_doc = createDoc(param);
|
|
6400
|
+
component_doc.studio_meta.miniApp = true;
|
|
6400
6401
|
} catch (err) {
|
|
6401
6402
|
return { code: -33, data: err.message || String(err) };
|
|
6402
6403
|
}
|