@xuda.io/account_module 1.2.279 → 1.2.280

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 -5
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1161,15 +1161,12 @@ export const get_contacts = async function (req) {
1161
1161
  opt.bookmark = bookmark;
1162
1162
  }
1163
1163
 
1164
-
1165
-
1166
1164
  const contacts_ret = await db_module.find_couch_query('xuda_contacts', opt);
1167
1165
 
1168
- if(with_requests){
1169
-
1166
+ if (with_requests) {
1170
1167
  }
1171
1168
 
1172
- return {code:1,data:{docs:[...contacts_ret.data.docs]};
1169
+ return { code: 1, data: { docs: [...contacts_ret.data.docs] } };
1173
1170
  };
1174
1171
 
1175
1172
  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.279",
3
+ "version": "1.2.280",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {