Fix API fix

This commit is contained in:
Thomas Hounsell 2014-11-27 19:51:58 +00:00
parent b2698e6e42
commit e3a28b505f

View File

@ -21,7 +21,8 @@ public IEnumerable<string> GetWin10Labs()
List<string> labs = new List<string>();
labs.AddRange(Build.SelectBuildLabs(6, 4));
labs.AddRange(Build.SelectBuildLabs(10, 0));
return labs.ToArray();
return labs.GroupBy(l => l).Select(l => l.Key).ToArray();
}
public IEnumerable<SearchResult> GetSearchResult(string query)