@xuda.io/account_module 1.2.182 → 1.2.183
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
|
@@ -110,7 +110,9 @@ export const update_account_info = async function (req) {
|
|
|
110
110
|
// move later on to if (!account_obj.account_project_id) block
|
|
111
111
|
|
|
112
112
|
const drive_module = await import(`${module_path}/drive_module/index.mjs`);
|
|
113
|
-
|
|
113
|
+
let drive_req = { app_id: account_obj.account_project_id, folder_name: 'Chat Images', uid, reserve: false, path: '/' };
|
|
114
|
+
await drive_module.create_drive_folder_workspace(drive_req, job_id, headers);
|
|
115
|
+
await drive_module.create_drive_folder_workspace({ app_id: account_obj.account_project_id, folder_name: 'Chat Images', uid, reserve: true, path: '/' }, job_id, headers);
|
|
114
116
|
|
|
115
117
|
const ret2 = await db_module.save_couch_doc('xuda_accounts', account_obj);
|
|
116
118
|
if (ret2.code > 0) {
|