From bf49ae422ced3bd840b96443fff12c9a351c2c32 Mon Sep 17 00:00:00 2001 From: jvyden Date: Sun, 16 Jan 2022 14:49:17 -0500 Subject: [PATCH] Fix off-by-one error in LBP1 cool slots --- ProjectLighthouse/Controllers/SlotsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectLighthouse/Controllers/SlotsController.cs b/ProjectLighthouse/Controllers/SlotsController.cs index 9a0d810d..9d48f57e 100644 --- a/ProjectLighthouse/Controllers/SlotsController.cs +++ b/ProjectLighthouse/Controllers/SlotsController.cs @@ -93,7 +93,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers public async Task Lbp1CoolSlots([FromQuery] int page) { const int pageSize = 30; - return await CoolSlots(page * pageSize, pageSize); + return await CoolSlots((page - 1) * pageSize, pageSize); } [HttpGet("slots/lbp2cool")]