aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Telemetry/API/ReportsController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-07-05 22:04:04 -0500
committerJP Dillingham <jp@dillingham.me>2026-07-05 22:04:04 -0500
commitac972c0c2578e6c532a22ec489672071be1cf02b (patch)
treeabdd8ece1cbb4265e1df93413e57b87faa052795 /src/slskd/Telemetry/API/ReportsController.cs
parent555da1c27697059fa5d96f9d062608772880c720 (diff)
downloadslskd-ac972c0c2578e6c532a22ec489672071be1cf02b.tar.gz
tweaks
Diffstat (limited to 'src/slskd/Telemetry/API/ReportsController.cs')
-rw-r--r--src/slskd/Telemetry/API/ReportsController.cs2
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;