From e3a28b505f5e4499606f335df53065f565fcdc6c Mon Sep 17 00:00:00 2001 From: Thomas Hounsell Date: Thu, 27 Nov 2014 19:51:58 +0000 Subject: [PATCH] Fix API fix --- Controllers/apiController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Controllers/apiController.cs b/Controllers/apiController.cs index f0b2a1c..ffa11a4 100644 --- a/Controllers/apiController.cs +++ b/Controllers/apiController.cs @@ -21,7 +21,8 @@ public IEnumerable GetWin10Labs() List labs = new List(); 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 GetSearchResult(string query)