@xuda.io/account_module 1.2.795 → 1.2.797

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
@@ -1243,7 +1243,6 @@ const get_contact_pattern = async function (doc) {
1243
1243
  let ret = `default-pattern.png`;
1244
1244
 
1245
1245
  if (doc.my_contact) {
1246
- debugger;
1247
1246
  if (doc.account_type === 'business') {
1248
1247
  ret = doc.profile_picture;
1249
1248
  } else {
@@ -1543,7 +1542,8 @@ export const get_contacts = async function (req) {
1543
1542
  uid,
1544
1543
  stat: { $lt: 4 },
1545
1544
  },
1546
- limit: limit ? limit : 99999,
1545
+ limit: limit || 9999,
1546
+ skip: skip || 0,
1547
1547
  };
1548
1548
 
1549
1549
  if (_id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.795",
3
+ "version": "1.2.797",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {