mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-13 05:12:27 +00:00
Make childId not nullable in SubmitScore
This commit is contained in:
parent
a6c17b0e16
commit
b26d96bacd
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public class ScoreController : ControllerBase
|
|||
|
||||
[HttpPost("scoreboard/{slotType}/{id:int}")]
|
||||
[HttpPost("scoreboard/{slotType}/{id:int}/{childId:int}")]
|
||||
public async Task<IActionResult> SubmitScore(string slotType, int id, int? childId, [FromQuery] bool lbp1 = false, [FromQuery] bool lbp2 = false, [FromQuery] bool lbp3 = false)
|
||||
public async Task<IActionResult> SubmitScore(string slotType, int id, int childId, [FromQuery] bool lbp1 = false, [FromQuery] bool lbp2 = false, [FromQuery] bool lbp3 = false)
|
||||
{
|
||||
GameToken? token = await this.database.GameTokenFromRequest(this.Request);
|
||||
if (token == null) return this.StatusCode(403, "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue