@xuda.io/account_module 1.2.918 → 1.2.920

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 +6 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1407,7 +1407,12 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
1407
1407
  doc.friend_since = req_doc.team_req_date;
1408
1408
  }
1409
1409
  } catch (err) {
1410
- if (err.message === 'deleted') debugger;
1410
+ if (err.message === 'deleted') {
1411
+ try {
1412
+ let contact_doc = await db_module.get_couch_doc_native('xuda_contacts', doc._id);
1413
+ contact_doc.team_req_id = '';
1414
+ } catch (error) {}
1415
+ }
1411
1416
  doc.connection_stat = 0;
1412
1417
  }
1413
1418
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.918",
3
+ "version": "1.2.920",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {