@xuda.io/account_module 1.2.197 → 1.2.199
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
|
@@ -101,7 +101,7 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
101
101
|
|
|
102
102
|
if (!account_obj.account_project_id) {
|
|
103
103
|
const app_module = await import(`${module_path}/app_module/index.mjs`);
|
|
104
|
-
const ret = await app_module.create_project({ token_ret: req.token_ret, uid, data: { app_name: `Account ${uid} main project`, is_account_project: true, app_plugins_purchased: [' @xuda.io/xuda-dbs-plugin-xuda', '@xuda.io/xuda-framework-plugin-tailwind'] } });
|
|
104
|
+
const ret = await app_module.create_project({ token_ret: req.token_ret, uid, data: { app_name: `Account ${uid} main project`, is_account_project: true, app_plugins_purchased: [' @xuda.io/xuda-dbs-plugin-xuda', '@xuda.io/xuda-framework-plugin-tailwind'] } }, job_id, headers);
|
|
105
105
|
if (ret.code > -1) {
|
|
106
106
|
account_obj.account_project_id = ret.data;
|
|
107
107
|
}
|
|
@@ -113,6 +113,7 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
113
113
|
let drive_req = { app_id: account_obj.account_project_id, uid, path: '/' };
|
|
114
114
|
await drive_module.create_drive_folder_workspace({ ...drive_req, ...{ folder_name: 'Chat Images', is_protected: false } }, job_id, headers);
|
|
115
115
|
await drive_module.create_drive_folder_studio({ ...drive_req, ...{ folder_name: 'Progs Thumbnails', is_protected: true } }, job_id, headers);
|
|
116
|
+
await drive_module.create_drive_folder_studio({ ...drive_req, ...{ folder_name: 'Screenshots', is_protected: true } }, job_id, headers);
|
|
116
117
|
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Profile Images', is_protected: true } }, job_id, headers);
|
|
117
118
|
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Chat Thumbnails', is_protected: true } }, job_id, headers);
|
|
118
119
|
|