@xuda.io/account_module 1.2.262 → 1.2.263

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -114,7 +114,6 @@ export const update_account_info = async function (req, job_id, headers) {
114
114
  }
115
115
 
116
116
  if (account_obj.account_info?.profile_picture) {
117
- const drive_module = await import(`${module_path}/drive_module/index.mjs`);
118
117
  await removeBg({ url: account_obj.account_info?.profile_picture }, job_id, headers);
119
118
  }
120
119
 
@@ -1552,6 +1551,7 @@ export const get_user_name = async function (uid) {
1552
1551
  };
1553
1552
 
1554
1553
  const removeBg = async function (req, job_id, headers) {
1554
+ const drive_module = await import(`${module_path}/drive_module/index.mjs`);
1555
1555
  const { url } = req;
1556
1556
  try {
1557
1557
  let imageBuffer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.262",
3
+ "version": "1.2.263",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {