Skip to content

Commit

Permalink
Merge pull request #2032 from dhis2/DHIS2-14864/v39-fix-dryrun-params
Browse files Browse the repository at this point in the history
fix: use dry run instead of import mode when making api call to old tracker api
  • Loading branch information
flaminic authored Jun 3, 2024
2 parents f127934 + b34ce25 commit e4666e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/TEIImport/form-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const onImport =
const apiBaseUrl = `${baseUrl}/api/`
const endpoint = 'trackedEntityInstances.json'
const params = [
`importMode=${dryRun ? 'VALIDATE' : 'COMMIT'}`,
`dryRun=${dryRun}`,
`identifier=${identifier}`,
`importReportMode=${importReportMode}`,
`preheatMode=${preheatMode}`,
Expand Down

0 comments on commit e4666e4

Please sign in to comment.