@xuda.io/account_module 1.2.1400 → 1.2.1401

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
@@ -2066,6 +2066,7 @@ export const add_contact = async function (req, job_id, headers) {
2066
2066
  };
2067
2067
 
2068
2068
  const set_account_profile_picture = async function (uid, contact_uid) {
2069
+ await update_profile_avatar_status(contact_uid, 1);
2069
2070
  try {
2070
2071
  let profile_picture;
2071
2072
 
@@ -2139,7 +2140,7 @@ const set_account_profile_picture = async function (uid, contact_uid) {
2139
2140
  await update_profile_avatar_status(contact_uid, 3);
2140
2141
  }
2141
2142
  } catch (error) {
2142
- await update_profile_avatar_status(contact_uid, 1);
2143
+ await update_profile_avatar_status(contact_uid, 3);
2143
2144
  }
2144
2145
  };
2145
2146
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1400",
3
+ "version": "1.2.1401",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {