Fix content-type for planetStats

This commit is contained in:
Slendy 2023-03-28 14:40:05 -05:00
parent 9451babb76
commit e3843cb8c4
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -28,6 +28,7 @@ public class StatisticsController : ControllerBase
public async Task<IActionResult> TotalPlayerCount() => this.Ok((await StatisticsHelper.RecentMatchesForGame(this.database, this.GetToken().GameVersion)).ToString());
[HttpGet("planetStats")]
[Produces("text/xml")]
public async Task<IActionResult> PlanetStats()
{
int totalSlotCount = await StatisticsHelper.SlotCountForGame(this.database, this.GetToken().GameVersion);