@xuda.io/account_module 1.2.225 → 1.2.227
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -108,6 +108,7 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
108
108
|
let drive_req = { app_id: account_obj.account_project_id, uid, path: '/' };
|
|
109
109
|
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Profile Images', is_protected: true } }, job_id, headers);
|
|
110
110
|
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Chat Thumbnails', is_protected: true } }, job_id, headers);
|
|
111
|
+
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Chat Attachments', is_protected: true } }, job_id, headers);
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
|
|
@@ -119,6 +120,7 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
119
120
|
await drive_module.create_drive_folder_studio({ ...drive_req, ...{ folder_name: 'Screenshots', is_protected: true } }, job_id, headers);
|
|
120
121
|
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Profile Images', is_protected: true } }, job_id, headers);
|
|
121
122
|
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Chat Thumbnails', is_protected: true } }, job_id, headers);
|
|
123
|
+
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Chat Attachments', is_protected: true } }, job_id, headers);
|
|
122
124
|
|
|
123
125
|
const ret2 = await db_module.save_couch_doc('xuda_accounts', account_obj);
|
|
124
126
|
if (ret2.code > 0) {
|