@xuda.io/account_module 1.2.264 → 1.2.265
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -115,6 +115,9 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
115
115
|
|
|
116
116
|
if (account_obj.account_info?.profile_picture) {
|
|
117
117
|
await removeBg({ url: account_obj.account_info?.profile_picture }, job_id, headers);
|
|
118
|
+
} else {
|
|
119
|
+
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
120
|
+
ai_module.update_thumbnail('contact', doc, app_id, uid, job_id, headers, 'xuda_contacts');
|
|
118
121
|
}
|
|
119
122
|
|
|
120
123
|
// temp remove later on
|