Making API changes for WUDetector

Cutting out all the private non-WU labs from GetWin10Labs
This commit is contained in:
Thomas Hounsell 2015-06-03 14:26:19 +01:00
parent 69cae36189
commit c7ad50abc7

View File

@ -23,7 +23,7 @@ public IEnumerable<string> GetWin10Labs()
labs.AddRange(Build.SelectBuildLabs(6, 4));
labs.AddRange(Build.SelectBuildLabs(10, 0));
return labs.GroupBy(l => l).Select(l => l.Key).ToArray();
return labs.GroupBy(l => l).Select(l => l.Key).Where(l => !l.Any(c => c == '(')).ToArray();
}
[HttpPost]