From 3cf9363e2f902f4d12c432b021bab5d40ab9d1f9 Mon Sep 17 00:00:00 2001 From: crazybbs Date: Tue, 9 Aug 2016 16:27:17 -0400 Subject: [PATCH] Add files via upload --- GameBrowser/Api/ServerApiEndpoints.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GameBrowser/Api/ServerApiEndpoints.cs b/GameBrowser/Api/ServerApiEndpoints.cs index a04fbbca..4539b78a 100644 --- a/GameBrowser/Api/ServerApiEndpoints.cs +++ b/GameBrowser/Api/ServerApiEndpoints.cs @@ -70,7 +70,7 @@ public object Get(GetDosGames request) _logger.Debug("GetDosGames request received"); var dosGames = _libraryManager.RootFolder.RecursiveChildren - .Where(i => i is Game && !string.IsNullOrEmpty(((Game)i).GameSystem) && ((Game)i).GameSystem.Equals("dos")) + .Where(i => i is Game && !string.IsNullOrEmpty(((Game)i).GameSystem) && ((Game)i).GameSystem.Equals("DOS")) .OrderBy(i => i.SortName) .ToList(); @@ -96,7 +96,7 @@ public object Get(GetWindowsGames request) _logger.Debug("GetWindowsGames request received"); var windowsGames = _libraryManager.RootFolder.RecursiveChildren - .Where(i => i is Game && !string.IsNullOrEmpty(((Game)i).GameSystem) && ((Game)i).GameSystem.Equals("windows")) + .Where(i => i is Game && !string.IsNullOrEmpty(((Game)i).GameSystem) && ((Game)i).GameSystem.Equals("Windows")) .OrderBy(i => i.SortName) .ToList();