Add LBP1 Total Level Count

This commit is contained in:
jvyden 2021-11-09 17:40:53 -05:00
commit 81f1607803
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -39,5 +39,8 @@ namespace LBPUnion.ProjectLighthouse.Controllers
("planetStats", LbpSerializer.StringElement("totalSlotCount", totalSlotCount) + LbpSerializer.StringElement("mmPicksCount", mmPicksCount))
);
}
[HttpGet("planetStats/totalLevelCount")]
public async Task<IActionResult> TotalLevelCount() => this.Ok((await this.database.Slots.CountAsync()).ToString());
}
}