@xuda.io/account_module 1.2.181 → 1.2.182
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 +1 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -15,7 +15,6 @@ const _utils = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi
|
|
|
15
15
|
const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ? '/node_modules/@xuda.io' : '');
|
|
16
16
|
const db_module = await import(`${module_path}/db_module/index.mjs`);
|
|
17
17
|
const jobs_module = await import(`${module_path}/jobs_module/index.mjs`);
|
|
18
|
-
const logs_module = await import(`${module_path}/logs_module/index.mjs`);
|
|
19
18
|
|
|
20
19
|
export const update_account_info = async function (req) {
|
|
21
20
|
const marketplace_module = await import(`${module_path}/marketplace_module/index.mjs`);
|
|
@@ -111,7 +110,7 @@ export const update_account_info = async function (req) {
|
|
|
111
110
|
// move later on to if (!account_obj.account_project_id) block
|
|
112
111
|
|
|
113
112
|
const drive_module = await import(`${module_path}/drive_module/index.mjs`);
|
|
114
|
-
await drive_module.create_drive_folder_workspace({}, job_id, headers);
|
|
113
|
+
await drive_module.create_drive_folder_workspace({ app_id: account_obj.account_project_id, folder_name: '', uid, reserve: true, path: '/' }, job_id, headers);
|
|
115
114
|
|
|
116
115
|
const ret2 = await db_module.save_couch_doc('xuda_accounts', account_obj);
|
|
117
116
|
if (ret2.code > 0) {
|