diff --git a/src/main/java/org/gridsuite/securityanalysis/server/SecurityAnalysisController.java b/src/main/java/org/gridsuite/securityanalysis/server/SecurityAnalysisController.java index 01011e7a..474a9d50 100644 --- a/src/main/java/org/gridsuite/securityanalysis/server/SecurityAnalysisController.java +++ b/src/main/java/org/gridsuite/securityanalysis/server/SecurityAnalysisController.java @@ -21,7 +21,6 @@ import org.gridsuite.securityanalysis.server.service.SecurityAnalysisWorkerService; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; -import org.springframework.data.web.PageableDefault; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; @@ -113,7 +112,7 @@ public ResponseEntity getNResult(@Parameter(description = @ApiResponse(responseCode = "404", description = "Security analysis result has not been found")}) public ResponseEntity> getNmKContingenciesResult(@Parameter(description = "Result UUID") @PathVariable("resultUuid") UUID resultUuid, @Parameter ResultsSelectorDTO resultsSelector, - @PageableDefault() Pageable pageable) { + Pageable pageable) { Page result = service.getNmKContingenciesResult(resultUuid, resultsSelector, pageable); return result != null