diff --git a/openbas-api/src/main/java/io/openbas/rest/scenario/ScenarioExerciseApi.java b/openbas-api/src/main/java/io/openbas/rest/scenario/ScenarioExerciseApi.java index 8f53f1ebb5..7c6b313912 100644 --- a/openbas-api/src/main/java/io/openbas/rest/scenario/ScenarioExerciseApi.java +++ b/openbas-api/src/main/java/io/openbas/rest/scenario/ScenarioExerciseApi.java @@ -14,8 +14,10 @@ import jakarta.persistence.criteria.Join; import jakarta.validation.Valid; import jakarta.validation.constraints.NotBlank; + import java.util.HashMap; import java.util.Map; + import lombok.RequiredArgsConstructor; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.domain.Specification; @@ -55,6 +57,7 @@ public Iterable scenarioExercises( pageable, joinMap), searchPaginationInput, - Exercise.class); + Exercise.class, + joinMap); } }