mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-10-05 15:49:37 +00:00
Merge branch 'refs/heads/main' into recent-activity
# Conflicts: # ProjectLighthouse/Migrations/DatabaseContextModelSnapshot.cs
This commit is contained in:
commit
1172b92bc9
138 changed files with 4735 additions and 588 deletions
|
@ -27,7 +27,8 @@ public class StatisticsController : ControllerBase
|
|||
public IActionResult PlayersInPodCount() => this.Ok(StatisticsHelper.RoomCountForPlatform(this.GetToken().Platform).ToString());
|
||||
|
||||
[HttpGet("totalPlayerCount")]
|
||||
public async Task<IActionResult> TotalPlayerCount() => this.Ok((await StatisticsHelper.RecentMatchesForGame(this.database, this.GetToken().GameVersion)).ToString());
|
||||
public async Task<IActionResult> TotalPlayerCount() =>
|
||||
this.Ok((await StatisticsHelper.RecentMatches(this.database, l => l.GameVersion == this.GetToken().GameVersion)).ToString());
|
||||
|
||||
[HttpGet("planetStats")]
|
||||
[Produces("text/xml")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue