@xuda.io/account_module 1.2.379 → 1.2.381

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
@@ -1189,7 +1189,7 @@ export const get_contacts = async function (req) {
1189
1189
  }
1190
1190
 
1191
1191
  const contacts = await db_module.find_couch_query('xuda_contacts', opt);
1192
-
1192
+ debugger;
1193
1193
  for await (let doc of contacts.docs) {
1194
1194
  if (doc.contact_uid) {
1195
1195
  const account_ret = await get_account_name({ uid_query: doc.contact_uid });
@@ -1240,7 +1240,7 @@ export const delete_contact = async function (req) {
1240
1240
  return contact_ret;
1241
1241
  }
1242
1242
  var contact_doc = contact_ret.data;
1243
-
1243
+ contact_doc.stat = 4;
1244
1244
  contact_doc.stat_ts = Date.now();
1245
1245
  contact_doc.stat_reason = 'deleted';
1246
1246
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.379",
3
+ "version": "1.2.381",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {