Skip to content

Commit

Permalink
Automated dotnet-format update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 26, 2023
1 parent 8229d48 commit 003462b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BUTR.CrashReportServer/Controllers/ReportController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public ActionResult<IEnumerable<FileMetadata>> GetNewCrashReportsDates([FromBody
var diff = DateTime.UtcNow - body.DateTime;
if (diff.Ticks < 0 || diff > TimeSpan.FromDays(30))
return BadRequest();

return Ok(_dbContext.Set<IdEntity>()
.Where(x => x.Created.Ticks > body.DateTime.Ticks)
.Select(x => new FileMetadata(x.FileId, x.CrashReportId, x.Version, x.Created.ToUniversalTime())));
Expand Down

0 comments on commit 003462b

Please sign in to comment.