@xuda.io/account_module 1.2.1465 → 1.2.1467

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 +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -195,7 +195,7 @@ export const update_account_info = async function (req, job_id, headers) {
195
195
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
196
196
 
197
197
  if (account_obj.account_info?.profile_picture) {
198
- if (!account_obj.account_info?.profile_avatar && account_obj.profile_avatar_stat !== 2) {
198
+ if (!account_obj.account_info?.profile_avatar && account_obj.account_info.profile_avatar_stat !== 2) {
199
199
  debugger;
200
200
  set_account_profile_picture(uid, uid, account_obj.account_info, job_id, headers);
201
201
  }
@@ -2094,6 +2094,7 @@ export const add_contact = async function (req, job_id, headers) {
2094
2094
  };
2095
2095
 
2096
2096
  const set_account_profile_picture = async function (uid, account_uid, metadata, job_id, headers) {
2097
+ const ai_module = await import(`${module_path}/ai_module/index.mjs`);
2097
2098
  const account_profile_info = await get_active_account_profile_info(uid);
2098
2099
  await update_account_profile_picture_status(account_uid, 1);
2099
2100
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1465",
3
+ "version": "1.2.1467",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {