@xuda.io/account_module 1.2.264 → 1.2.266

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 +3 -0
  2. 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('account', account_obj, account_obj.account_project_id, uid, job_id, headers, 'xuda_accounts');
118
121
  }
119
122
 
120
123
  // temp remove later on
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.264",
3
+ "version": "1.2.266",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {