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())));