From 81f160780376f591fe1f29df649926fadf5b8b8e Mon Sep 17 00:00:00 2001 From: jvyden Date: Tue, 9 Nov 2021 17:40:53 -0500 Subject: [PATCH] Add LBP1 Total Level Count --- ProjectLighthouse/Controllers/StatisticsController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ProjectLighthouse/Controllers/StatisticsController.cs b/ProjectLighthouse/Controllers/StatisticsController.cs index e27e52ea..9deb12c4 100644 --- a/ProjectLighthouse/Controllers/StatisticsController.cs +++ b/ProjectLighthouse/Controllers/StatisticsController.cs @@ -39,5 +39,8 @@ namespace LBPUnion.ProjectLighthouse.Controllers ("planetStats", LbpSerializer.StringElement("totalSlotCount", totalSlotCount) + LbpSerializer.StringElement("mmPicksCount", mmPicksCount)) ); } + + [HttpGet("planetStats/totalLevelCount")] + public async Task TotalLevelCount() => this.Ok((await this.database.Slots.CountAsync()).ToString()); } } \ No newline at end of file