From c50aadeb35fabc6c3c2ebf91581c6880e8eea870 Mon Sep 17 00:00:00 2001 From: "stirlingbot[bot]" <195170888+stirlingbot[bot]@users.noreply.github.com> Date: Thu, 4 Sep 2025 12:56:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20format=20everything=20with=20pre?= =?UTF-8?q?-commit=20by=20stirlingbot=20(#4185)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Auto-generated by [create-pull-request][1] with **stirlingbot** [1]: https://github.com/peter-evans/create-pull-request Signed-off-by: stirlingbot[bot] Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com> --- .../controller/api/AuditDashboardController.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/proprietary/src/main/java/stirling/software/proprietary/controller/api/AuditDashboardController.java b/app/proprietary/src/main/java/stirling/software/proprietary/controller/api/AuditDashboardController.java index cd1c8b9e5..16f860e96 100644 --- a/app/proprietary/src/main/java/stirling/software/proprietary/controller/api/AuditDashboardController.java +++ b/app/proprietary/src/main/java/stirling/software/proprietary/controller/api/AuditDashboardController.java @@ -116,8 +116,12 @@ public class AuditDashboardController { @GetMapping("/stats") @Operation(summary = "Get audit statistics for the last N days") public AuditStatsResponse getAuditStats( - @Schema(description = "Number of days to look back for audit events", example = "7", required = true) - @RequestParam(value = "days", defaultValue = "7") int days) { + @Schema( + description = "Number of days to look back for audit events", + example = "7", + required = true) + @RequestParam(value = "days", defaultValue = "7") + int days) { // Get events from the last X days Instant startDate = Instant.now().minus(java.time.Duration.ofDays(days));