@xuda.io/account_module 1.2.512 → 1.2.514

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1257,7 +1257,7 @@ const get_contact_border = function (doc) {
1257
1257
  return ret;
1258
1258
  };
1259
1259
 
1260
- export const get_contact_info = async function (contact_doc, _id) {
1260
+ export const get_contact_info = async function (uid, contact_doc, _id) {
1261
1261
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
1262
1262
  let doc = contact_doc;
1263
1263
  if (_id) {
@@ -1363,7 +1363,7 @@ export const get_contacts = async function (req) {
1363
1363
  const contacts = await db_module.find_couch_query('xuda_contacts', opt);
1364
1364
 
1365
1365
  for await (let doc of contacts.docs) {
1366
- doc = await get_contact_info(doc);
1366
+ doc = await get_contact_info(uid, doc);
1367
1367
  }
1368
1368
 
1369
1369
  let requests_to = { docs: [] };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.512",
3
+ "version": "1.2.514",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {