Skip to content

Commit d189f12

Browse files
committed
- remove max PageSize limit for Data and Geo Services
1 parent cad0940 commit d189f12

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/data/store/extract-query-options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export function extractQueryOptions(options) {
77
const params = []
88

99
if (typeof options.pageSize !== 'undefined') {
10-
if (options.pageSize < 1 || options.pageSize > 100) {
11-
throw new Error('PageSize can not be less then 1 or greater than 100')
10+
if (options.pageSize < 1) {
11+
throw new Error('PageSize can not be less then 1')
1212
}
1313

1414
params.push('pageSize=' + encodeURIComponent(options.pageSize))

src/geo/find-helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const FindHelpers = {
4040
},
4141

4242
pageSize: function(arg) {
43-
if (arg < 1 || arg > 100) {
44-
throw new Error('PageSize can not be less then 1 or greater than 100')
43+
if (arg < 1) {
44+
throw new Error('PageSize can not be less then 1')
4545
}
4646

4747
return 'pagesize=' + arg

0 commit comments

Comments
 (0)