@xuda.io/account_module 1.2.391 → 1.2.392

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
@@ -1211,8 +1211,8 @@ export const get_contacts = async function (req) {
1211
1211
  });
1212
1212
 
1213
1213
  for await (let doc of requests_to_res.docs) {
1214
- if (doc.contact_uid) {
1215
- const account_ret = await get_account_name({ uid_query: doc.contact_uid });
1214
+ if (doc.team_req_to_uid) {
1215
+ const account_ret = await get_account_name({ uid_query: doc.team_req_to_uid });
1216
1216
  if (account_ret.code < 0) {
1217
1217
  continue; // throw new Error(`account ${contact_uid} not found`);
1218
1218
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.391",
3
+ "version": "1.2.392",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {