From 0fb7120dfc4dbeceb402ac6052549b33b2d0a0d8 Mon Sep 17 00:00:00 2001 From: jvyden Date: Wed, 16 Feb 2022 14:04:07 -0500 Subject: [PATCH] Run getSlots for non-mainline games in filterByRequest --- .../Controllers/GameApi/Slots/SlotsController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ProjectLighthouse/Controllers/GameApi/Slots/SlotsController.cs b/ProjectLighthouse/Controllers/GameApi/Slots/SlotsController.cs index 90cde11e..90aff8f5 100644 --- a/ProjectLighthouse/Controllers/GameApi/Slots/SlotsController.cs +++ b/ProjectLighthouse/Controllers/GameApi/Slots/SlotsController.cs @@ -381,6 +381,11 @@ public class SlotsController : ControllerBase private IQueryable filterByRequest(string? gameFilterType, string? dateFilterType, GameVersion version) { + if (version == GameVersion.LittleBigPlanetVita || version == GameVersion.LittleBigPlanetPSP || version == GameVersion.Unknown) + { + return this.getSlots(version); + } + string _dateFilterType = dateFilterType ?? ""; long oldestTime = _dateFilterType switch