File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 ) )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments