Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
get all tasks and then slice until can filter server-side
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed Dec 15, 2018
1 parent a0eb889 commit 65d2dc3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,11 @@ class CodeGovAPIClient {
from = this.from
}

let url = this.tasksUrl + `?size=${size}`
let url = this.tasksUrl

//temporary until can filter with API
url += `?size=10000`

if (this.api_key) url += `&api_key=${this.api_key}`

return this.getJSON(url)
Expand Down

0 comments on commit 65d2dc3

Please sign in to comment.