diff --git a/Source/Assistant/HttpClientUtil.cs b/Source/Assistant/HttpClientUtil.cs index 6277770..6eb0b69 100644 --- a/Source/Assistant/HttpClientUtil.cs +++ b/Source/Assistant/HttpClientUtil.cs @@ -51,11 +51,9 @@ namespace Rehau.Sku.Assist case ResponseOrder.Series: baseUri.Query = "dir=asc&order=sch_product_series&q=" + cleanedRequest; break; - case ResponseOrder.NoSettings: + default: baseUri.Query = "q=" + cleanedRequest; break; - default: - throw new ArgumentException(); } return baseUri.Uri; diff --git a/Source/ExcelDNA/AddIn.cs b/Source/ExcelDNA/AddIn.cs index b3fb9c1..77a2b34 100644 --- a/Source/ExcelDNA/AddIn.cs +++ b/Source/ExcelDNA/AddIn.cs @@ -7,7 +7,7 @@ namespace Rehau.Sku.Assist { public enum ResponseOrder { - NoSettings, + Default, Relevance, Name, Price,