@xuda.io/account_module 1.2.357 → 1.2.359

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 +13 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1146,6 +1146,18 @@ export const get_contacts = async function (req) {
1146
1146
  docType: 'contact',
1147
1147
  uid,
1148
1148
  stat: { $lt: 4 },
1149
+ $and: [
1150
+ {
1151
+ $or: [
1152
+ {
1153
+ uid: 'd39126e0e2c51ffbd1aad10709fc8335',
1154
+ },
1155
+ {
1156
+ contact_uid: 'acc_7cd33d42e6aadfe8fc01258dc6155371',
1157
+ },
1158
+ ],
1159
+ },
1160
+ ],
1149
1161
  },
1150
1162
  limit: limit ? limit : 99999,
1151
1163
  };
@@ -1173,7 +1185,7 @@ export const get_contacts = async function (req) {
1173
1185
  opt.skip = skip;
1174
1186
  }
1175
1187
 
1176
- if (bookmark !== 'nil') {
1188
+ if (bookmark && bookmark !== 'nil') {
1177
1189
  opt.bookmark = bookmark;
1178
1190
  }
1179
1191
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.357",
3
+ "version": "1.2.359",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {