diff --git a/openbas-front/src/actions/exercises/exercise-action.ts b/openbas-front/src/actions/exercises/exercise-action.ts index 6b4f04a5c0..a0649ba155 100644 --- a/openbas-front/src/actions/exercises/exercise-action.ts +++ b/openbas-front/src/actions/exercises/exercise-action.ts @@ -36,7 +36,7 @@ export const searchExerciseInjects = (exerciseId: Exercise['exercise_id'], searc // -- IMPORT -- export const importXlsForExercise = (exerciseId: Exercise['exercise_id'], importId: string, input: InjectsImportInput) => { - const uri = `${EXERCISE_URI}/${exerciseId}/xls/${importId}/import`; + const uri = `${EXERCISE_URI}${exerciseId}/xls/${importId}/import`; return simplePostCall(uri, input) .then((response) => { const injectCount = response.data.total_injects; @@ -50,7 +50,7 @@ export const importXlsForExercise = (exerciseId: Exercise['exercise_id'], import }; export const dryImportXlsForExercise = (exerciseId: Exercise['exercise_id'], importId: string, input: InjectsImportInput) => { - const uri = `${EXERCISE_URI}/${exerciseId}/xls/${importId}/dry`; + const uri = `${EXERCISE_URI}${exerciseId}/xls/${importId}/dry`; return simplePostCall(uri, input) .then((response) => { return response;