@xuda.io/account_module 1.2.1823 → 1.2.1825

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2436,6 +2436,7 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
2436
2436
  }
2437
2437
  } catch (err) {
2438
2438
  await update_contact_profile_picture_status(uid, contact_id, 1, err.message);
2439
+ delete_xuda_cache(contact_obj);
2439
2440
  }
2440
2441
  };
2441
2442
 
@@ -3282,6 +3283,7 @@ export const find_contact_query = async function (uid, opt) {
3282
3283
  };
3283
3284
 
3284
3285
  export const delete_xuda_cache = async function (contact_obj) {
3286
+ debugger;
3285
3287
  const ret = await db_module.find_couch_query('xuda_cache', {
3286
3288
  selector: {
3287
3289
  $or: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1823",
3
+ "version": "1.2.1825",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {