From 2bca140dab4cbddd65c967b72869f0a9817312e0 Mon Sep 17 00:00:00 2001 From: jvyden Date: Sun, 16 Jan 2022 14:39:32 -0500 Subject: [PATCH] Actually fix LBP1 cool slots --- ProjectLighthouse/Controllers/SlotsController.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ProjectLighthouse/Controllers/SlotsController.cs b/ProjectLighthouse/Controllers/SlotsController.cs index 27f918db..9a0d810d 100644 --- a/ProjectLighthouse/Controllers/SlotsController.cs +++ b/ProjectLighthouse/Controllers/SlotsController.cs @@ -89,8 +89,14 @@ namespace LBPUnion.ProjectLighthouse.Controllers return this.Ok(slot.Serialize(ratedLevel, visitedLevel)); } - [HttpGet("slots/lbp2cool")] [HttpGet("slots/cool")] + public async Task Lbp1CoolSlots([FromQuery] int page) + { + const int pageSize = 30; + return await CoolSlots(page * pageSize, pageSize); + } + + [HttpGet("slots/lbp2cool")] public async Task CoolSlots ( [FromQuery] int pageStart,