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