@xuda.io/account_module 1.2.1632 → 1.2.1633
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2193,7 +2193,9 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
|
|
|
2193
2193
|
job_id,
|
|
2194
2194
|
headers,
|
|
2195
2195
|
);
|
|
2196
|
-
|
|
2196
|
+
if (contact_obj.business_name) {
|
|
2197
|
+
save_xuda_cache(uid, 'profile_avatar', contact_obj.business_name, file_ret.data, { account_type: contact_obj.account_type, type: 'contact' });
|
|
2198
|
+
}
|
|
2197
2199
|
save_xuda_cache(uid, 'profile_avatar', contact_obj.email, file_ret.data, { account_type: contact_obj.account_type, type: 'contact' });
|
|
2198
2200
|
}
|
|
2199
2201
|
if (file_ret.code < 0) {
|