Use Lucky Dip for /slots/cool and /slots/lbp2cool

This commit is contained in:
jvyden 2021-11-08 01:46:32 -05:00
commit 01aa5e0533
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -60,8 +60,9 @@ namespace LBPUnion.ProjectLighthouse.Controllers
return this.Ok(slot.Serialize());
}
[HttpGet("slots/lbp2cool")]
[HttpGet("slots/cool")]
public async Task<IActionResult> CoolSlots([FromQuery] int page) => await NewestSlots(30 * page, 30);
public async Task<IActionResult> CoolSlots([FromQuery] int page) => await LuckyDipSlots(30 * page, 30, 69);
[HttpGet("slots")]
public async Task<IActionResult> NewestSlots([FromQuery] int pageStart, [FromQuery] int pageSize)