Skip to content

Commit

Permalink
fix: use dry run instead of import mode when making api call to old t…
Browse files Browse the repository at this point in the history
…racker api
  • Loading branch information
Flaminia Cavallo authored and Flaminia Cavallo committed May 20, 2024
1 parent 5322fe6 commit 9c4a6ff
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 9c4a6ff

Please sign in to comment.