Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelAdell committed Sep 19, 2024
2 parents 0e26198 + fa8c979 commit f8e17c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bulk-load",
"description": "Bulk importing made easy",
"version": "3.24.0",
"version": "3.24.1",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
Expand Down
6 changes: 3 additions & 3 deletions src/data/Dhis2TrackedEntityInstances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,12 @@ async function getTeisFromApi(options: {

const ouModeQuery =
ouMode === "SELECTED" || ouMode === "CHILDREN" || ouMode === "DESCENDANTS"
? { orgUnitMode: ouMode, orgUnit: orgUnits?.map(({ id }) => id) }
: { orgUnitMode: ouMode };
? { ouMode: ouMode, orgUnit: orgUnits?.map(({ id }) => id) }
: { ouMode: ouMode };

const filters: TrackedEntityGetRequest = {
...ouModeQuery,
order: "created:asc",
order: "createdAt:asc",
program: program.id,
pageSize: pageSize,
page: page,
Expand Down

0 comments on commit f8e17c3

Please sign in to comment.