@byted-apaas/server-sdk-node 1.1.15-beta.1 → 1.1.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byted-apaas/server-sdk-node",
3
- "version": "1.1.15-beta.1",
3
+ "version": "1.1.15",
4
4
  "description": "aPaaS Server SDK",
5
5
  "author": "zhouwexin <zhouwexin@bytedance.com>",
6
6
  "homepage": "",
@@ -285,7 +285,6 @@ function handleResponse(objectAPIName, data, needCount) {
285
285
  }
286
286
  }
287
287
  async function getRecordsOrCountByCriterion(objectApiName, criterion, fuzzySearch, order, ignoreBackLookupField, fieldApiNames, offset, limit, needCount, authType) {
288
- console.log(criterion);
289
288
  // 1.check
290
289
  if (!objectApiName) {
291
290
  throw new exceptions.InternalError('objectApiName is empty');
@@ -610,7 +609,7 @@ async function getGlobalConfigByKey(key) {
610
609
  'biz_type': 'GlobalVariables',
611
610
  'used_by': 'UsedBySystem',
612
611
  'filter': {
613
- 'offset': offset * i,
612
+ 'offset': pageSize * i,
614
613
  'limit': pageSize,
615
614
  },
616
615
  };