@xuda.io/account_module 1.2.260 → 1.2.262
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 +5 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -113,6 +113,11 @@ export const update_account_info = async function (req, job_id, headers) {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
if (account_obj.account_info?.profile_picture) {
|
|
117
|
+
const drive_module = await import(`${module_path}/drive_module/index.mjs`);
|
|
118
|
+
await removeBg({ url: account_obj.account_info?.profile_picture }, job_id, headers);
|
|
119
|
+
}
|
|
120
|
+
|
|
116
121
|
// temp remove later on
|
|
117
122
|
const drive_module = await import(`${module_path}/drive_module/index.mjs`);
|
|
118
123
|
let drive_req = { app_id: account_obj.account_project_id, uid, path: '/' };
|