Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 1a3fad7

Browse files
committed
moved setting the size of open tasks API call to client
1 parent cbbbadf commit 1a3fad7

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"private": "true",
3333
"dependencies": {
3434
"@code.gov/about-page": "0.1.8",
35-
"@code.gov/api-client": "0.3.2",
35+
"@code.gov/api-client": "0.3.3",
3636
"@code.gov/cautious": "0.3.0",
3737
"@code.gov/code-gov-font": "^0.7.1",
3838
"@code.gov/code-gov-style": "1.13.0",

src/actions/update-task-results.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ export default function (params) {
1414
}
1515
console.log("filtersAsObject", options)
1616

17-
// overwriting default size because need to get all tasks in order to do filtering client side
18-
options.size = 10000
19-
2017
const results = await client.tasks(options)
2118
console.error("results from client.tasks with filters", params, "is", results.total)
2219
results.params = params

0 commit comments

Comments
 (0)