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

Commit 65d2dc3

Browse files
committed
get all tasks and then slice until can filter server-side
1 parent a0eb889 commit 65d2dc3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,11 @@ class CodeGovAPIClient {
295295
from = this.from
296296
}
297297

298-
let url = this.tasksUrl + `?size=${size}`
298+
let url = this.tasksUrl
299+
300+
//temporary until can filter with API
301+
url += `?size=10000`
302+
299303
if (this.api_key) url += `&api_key=${this.api_key}`
300304

301305
return this.getJSON(url)

0 commit comments

Comments
 (0)