From 2b1cc62e4dd513a02e6798478a962140a591952f Mon Sep 17 00:00:00 2001 From: jvyden Date: Mon, 8 Nov 2021 12:59:51 -0500 Subject: [PATCH] Add mm pick count to PlanetStats --- ProjectLighthouse/Controllers/StatisticsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectLighthouse/Controllers/StatisticsController.cs b/ProjectLighthouse/Controllers/StatisticsController.cs index 0bacbd4a..e27e52ea 100644 --- a/ProjectLighthouse/Controllers/StatisticsController.cs +++ b/ProjectLighthouse/Controllers/StatisticsController.cs @@ -31,7 +31,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers public async Task PlanetStats() { int totalSlotCount = await this.database.Slots.CountAsync(); - const int mmPicksCount = 0; + int mmPicksCount = await this.database.Slots.CountAsync(s => s.TeamPick); return this.Ok (