mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 13:41:31 +00:00
Fix content-type for planetStats
This commit is contained in:
parent
9451babb76
commit
e3843cb8c4
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue