@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.
Files changed (2) hide show
  1. package/index.mjs +4 -3
  2. 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 contact_ret = await db_module.save_couch_doc('xuda_cache', doc);
3043
- return contact_ret;
3043
+ const save_ret = await db_module.save_couch_doc('xuda_cache', doc);
3044
+ return save_ret;
3044
3045
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1479",
3
+ "version": "1.2.1480",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {