From e3843cb8c4945aafb2fd4b5721095ab6368ce892 Mon Sep 17 00:00:00 2001 From: Slendy Date: Tue, 28 Mar 2023 14:40:05 -0500 Subject: [PATCH] Fix content-type for planetStats --- .../Controllers/StatisticsController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ProjectLighthouse.Servers.GameServer/Controllers/StatisticsController.cs b/ProjectLighthouse.Servers.GameServer/Controllers/StatisticsController.cs index da325e48..cd45d92a 100644 --- a/ProjectLighthouse.Servers.GameServer/Controllers/StatisticsController.cs +++ b/ProjectLighthouse.Servers.GameServer/Controllers/StatisticsController.cs @@ -28,6 +28,7 @@ public class StatisticsController : ControllerBase public async Task TotalPlayerCount() => this.Ok((await StatisticsHelper.RecentMatchesForGame(this.database, this.GetToken().GameVersion)).ToString()); [HttpGet("planetStats")] + [Produces("text/xml")] public async Task PlanetStats() { int totalSlotCount = await StatisticsHelper.SlotCountForGame(this.database, this.GetToken().GameVersion);