@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.
- package/index.mjs +2 -1
- 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,
|
|
2143
|
+
await update_profile_avatar_status(contact_uid, 3);
|
|
2143
2144
|
}
|
|
2144
2145
|
};
|
|
2145
2146
|
|