Skip to content

Commit

Permalink
Use dryRun unstead of importMode when making api call to old tracker API
Browse files Browse the repository at this point in the history
Since this is the accepted param
  • Loading branch information
Flaminia Cavallo authored and Flaminia Cavallo committed May 20, 2024
1 parent 5322fe6 commit 71a0377
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 71a0377

Please sign in to comment.