From 003462b2bfdd7a9666a23ada703376a29fca1dbf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 26 Nov 2023 00:28:24 +0000 Subject: [PATCH] Automated dotnet-format update --- src/BUTR.CrashReportServer/Controllers/ReportController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BUTR.CrashReportServer/Controllers/ReportController.cs b/src/BUTR.CrashReportServer/Controllers/ReportController.cs index 6d25d3f..976ecab 100644 --- a/src/BUTR.CrashReportServer/Controllers/ReportController.cs +++ b/src/BUTR.CrashReportServer/Controllers/ReportController.cs @@ -175,7 +175,7 @@ public ActionResult> GetNewCrashReportsDates([FromBody var diff = DateTime.UtcNow - body.DateTime; if (diff.Ticks < 0 || diff > TimeSpan.FromDays(30)) return BadRequest(); - + return Ok(_dbContext.Set() .Where(x => x.Created.Ticks > body.DateTime.Ticks) .Select(x => new FileMetadata(x.FileId, x.CrashReportId, x.Version, x.Created.ToUniversalTime())));