@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.
Files changed (2) hide show
  1. package/index.mjs +2 -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
- delete contact_obj.profile_picture;
2399
- delete contact_obj.profile_picture_obj;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1814",
3
+ "version": "1.2.1815",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {