mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-06 03:48:40 +00:00
Add LBP1 Total Level Count
This commit is contained in:
parent
33f1d3fa82
commit
81f1607803
1 changed files with 3 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue