mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-09 05:18:47 +00:00
Fix off-by-one error in LBP1 cool slots
This commit is contained in:
parent
2bca140dab
commit
bf49ae422c
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
|||
public async Task<IActionResult> Lbp1CoolSlots([FromQuery] int page)
|
||||
{
|
||||
const int pageSize = 30;
|
||||
return await CoolSlots(page * pageSize, pageSize);
|
||||
return await CoolSlots((page - 1) * pageSize, pageSize);
|
||||
}
|
||||
|
||||
[HttpGet("slots/lbp2cool")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue