diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-07-05 22:04:04 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-07-05 22:04:04 -0500 |
| commit | ac972c0c2578e6c532a22ec489672071be1cf02b (patch) | |
| tree | abdd8ece1cbb4265e1df93413e57b87faa052795 /src/slskd/Telemetry/API | |
| parent | 555da1c27697059fa5d96f9d062608772880c720 (diff) | |
| download | slskd-ac972c0c2578e6c532a22ec489672071be1cf02b.tar.gz | |
tweaks
Diffstat (limited to 'src/slskd/Telemetry/API')
| -rw-r--r-- | src/slskd/Telemetry/API/ReportsController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Telemetry/API/ReportsController.cs b/src/slskd/Telemetry/API/ReportsController.cs index e2bf5963..6192a4bd 100644 --- a/src/slskd/Telemetry/API/ReportsController.cs +++ b/src/slskd/Telemetry/API/ReportsController.cs @@ -193,7 +193,7 @@ public class ReportsController : ControllerBase // and this will let the caller avoid a bunch of empty series on their histogram if (start < Program.GenesisDateTime) { - start = Transfers.Query<DateTime?>(q => q.Min(t => t.RequestedAt)) ?? Program.GenesisDateTime; + start = Transfers.Query(q => q.Select(t => (DateTime?)t.RequestedAt).Min()) ?? Program.GenesisDateTime; } TransferDirection? transferDirection = null; |
