Skip to content

Commit

Permalink
Adding pagination (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrt authored and pajaydev committed Jan 13, 2019
1 parent f863fba commit 3bac0d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/buildURL.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const buildURL = {
base_url += options.param ? "&" + options.param + "=" + options.name : '';
base_url += options.limit ? "&paginationInput.entriesPerPage=" + options.limit : '';
base_url += options.globalID ? "&GLOBAL-ID=" + options.globalID : '';
base_url += options.pageNumber ? "&paginationInput.pageNumber=" + options.pageNumber: '';

return base_url;
},
Expand Down

0 comments on commit 3bac0d8

Please sign in to comment.