@xuda.io/account_module 1.2.480 → 1.2.482

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
@@ -1292,9 +1292,9 @@ export const get_contacts = async function (req) {
1292
1292
  if (doc.team_req_id) {
1293
1293
  try {
1294
1294
  const req_doc = await db_module.get_couch_doc_native('xuda_team', doc.team_req_id);
1295
- doc.connected = req_doc.stat;
1295
+ doc.connection_stat = req_doc.team_req_stat;
1296
1296
  } catch (error) {
1297
- doc.connected = 0;
1297
+ doc.connection_stat = 0;
1298
1298
  }
1299
1299
  }
1300
1300
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.480",
3
+ "version": "1.2.482",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {