@xuda.io/account_module 1.2.1478 → 1.2.1479
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 +7 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3033,7 +3033,12 @@ export const find_contact_query = async function (uid, opt) {
|
|
|
3033
3033
|
};
|
|
3034
3034
|
|
|
3035
3035
|
export const save_picture_cache = async function (uid, docType, url) {
|
|
3036
|
-
|
|
3037
|
-
|
|
3036
|
+
let doc = {
|
|
3037
|
+
docType,
|
|
3038
|
+
uid,
|
|
3039
|
+
url,
|
|
3040
|
+
date_created_ts: Date.now(),
|
|
3041
|
+
};
|
|
3042
|
+
const contact_ret = await db_module.save_couch_doc('xuda_cache', doc);
|
|
3038
3043
|
return contact_ret;
|
|
3039
3044
|
};
|