@xuda.io/account_module 1.2.184 → 1.2.185

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.
Files changed (2) hide show
  1. package/index.mjs +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -110,8 +110,8 @@ 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
- 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);
113
+ let drive_req = { app_id: account_obj.account_project_id, uid, path: '/' };
114
+ await drive_module.create_drive_folder_workspace({ ...drive_req, ...{ folder_name: 'Chat Images', reserve: false } }, job_id, headers);
115
115
  await drive_module.create_drive_folder_workspace(drive_req, job_id, headers);
116
116
 
117
117
  const ret2 = await db_module.save_couch_doc('xuda_accounts', account_obj);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.184",
3
+ "version": "1.2.185",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {