Fixed: (Stats) All filter not returning all

This commit is contained in:
Qstick 2021-12-04 17:18:20 -06:00
parent ea83020714
commit 89e500edfd

View file

@ -18,7 +18,7 @@ public IndexerStatsController(IIndexerStatisticsService indexerStatisticsService
[HttpGet]
public IndexerStatsResource GetAll(DateTime? startDate, DateTime? endDate)
{
var statsStartDate = startDate ?? DateTime.Now.AddDays(-30);
var statsStartDate = startDate ?? DateTime.MinValue;
var statsEndDate = endDate ?? DateTime.Now;
var indexerResource = new IndexerStatsResource