@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.
- package/index.mjs +2 -0
- 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: [
|