@xuda.io/account_module 1.2.307 → 1.2.308
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 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -119,12 +119,12 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
119
119
|
await drive_module.create_drive_folder_user({ ...drive_req, ...{ folder_name: 'Chat Attachments', is_protected: true } }, job_id, headers);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
123
123
|
if (account_obj.account_info?.profile_picture) {
|
|
124
124
|
ai_module.convert_profile_image_to_avatar({ url: account_obj.account_info?.profile_picture, uid }, job_id, headers);
|
|
125
125
|
} else {
|
|
126
|
-
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
127
|
-
|
|
126
|
+
// const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
127
|
+
const profile_avatar_ret = ai_module.update_thumbnail('account', account_obj, account_obj.account_project_id, uid, job_id, headers, 'xuda_accounts');
|
|
128
128
|
debugger;
|
|
129
129
|
}
|
|
130
130
|
|