From 695500990ed5b89999202a4b40583ca67894aa40 Mon Sep 17 00:00:00 2001 From: jvyden Date: Wed, 16 Feb 2022 13:39:35 -0500 Subject: [PATCH] Exclude sublevels in getSlots Closes #58 --- ProjectLighthouse/Controllers/GameApi/Slots/SlotsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectLighthouse/Controllers/GameApi/Slots/SlotsController.cs b/ProjectLighthouse/Controllers/GameApi/Slots/SlotsController.cs index 26084d73..90cde11e 100644 --- a/ProjectLighthouse/Controllers/GameApi/Slots/SlotsController.cs +++ b/ProjectLighthouse/Controllers/GameApi/Slots/SlotsController.cs @@ -33,7 +33,7 @@ public class SlotsController : ControllerBase return query.Where(s => s.GameVersion == gameVersion); } - return query.Where(s => s.GameVersion <= gameVersion); + return query.Where(s => s.GameVersion <= gameVersion && !s.SubLevel); } [HttpGet("slots/by")]