@xuda.io/account_module 1.2.1822 → 1.2.1824
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 +1 -1
- 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
|
|
|
@@ -3299,7 +3300,6 @@ export const delete_xuda_cache = async function (contact_obj) {
|
|
|
3299
3300
|
doc._deleted = true;
|
|
3300
3301
|
const save_ret = await db_module.save_couch_doc('xuda_cache', doc);
|
|
3301
3302
|
}
|
|
3302
|
-
return save_ret;
|
|
3303
3303
|
};
|
|
3304
3304
|
|
|
3305
3305
|
export const save_xuda_cache = async function (uid, docType, key, file, metadata = {}) {
|