aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Telemetry/API
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Telemetry/API')
-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;