@xuda.io/account_module 1.2.356 → 1.2.358

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1139,6 +1139,7 @@ export const merge_contact = async function (req) {
1139
1139
  };
1140
1140
 
1141
1141
  export const get_contacts = async function (req) {
1142
+ debugger;
1142
1143
  const { uid, name, limit, skip, bookmark, search, with_requests } = req;
1143
1144
  var opt = {
1144
1145
  selector: {
@@ -1172,7 +1173,7 @@ export const get_contacts = async function (req) {
1172
1173
  opt.skip = skip;
1173
1174
  }
1174
1175
 
1175
- if (bookmark !== 'nil') {
1176
+ if (bookmark && bookmark !== 'nil') {
1176
1177
  opt.bookmark = bookmark;
1177
1178
  }
1178
1179
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.356",
3
+ "version": "1.2.358",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {