@xuda.io/account_module 1.2.1814 → 1.2.1815
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2395,8 +2395,8 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
|
|
|
2395
2395
|
|
|
2396
2396
|
if (file_ret.code < 0) {
|
|
2397
2397
|
if (file_ret.data === 'Input file contains unsupported image format') {
|
|
2398
|
-
|
|
2399
|
-
|
|
2398
|
+
contact_obj.profile_picture = null;
|
|
2399
|
+
contact_obj.profile_picture_obj = null;
|
|
2400
2400
|
const contact_save_ret = await db_module.save_app_couch_doc(account_profile_info.app_id, contact_obj);
|
|
2401
2401
|
debugger;
|
|
2402
2402
|
}
|