@xuda.io/account_module 1.2.286 → 1.2.287

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 +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1167,7 +1167,7 @@ export const get_contacts = async function (req) {
1167
1167
  requests_ret = await db_module.find_couch_query('xuda_team', { selector: { docType: 'team_request', access_type: 'contact', team_req_stat: 2, team_req_from_uid: uid } });
1168
1168
  }
1169
1169
 
1170
- return { code: 1, data: { docs: [...contacts_ret.docs, ...requests_ret.docs] } };
1170
+ return { code: 1, data: { docs: [...requests_ret.docs, ...contacts_ret.docs] } };
1171
1171
  };
1172
1172
 
1173
1173
  export const delete_contact = async function (req) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.286",
3
+ "version": "1.2.287",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {