This commit is contained in:
MarcEricMartel
2022-10-16 07:33:16 -07:00
parent 355e1761b4
commit 0b5bb86291
2 changed files with 63 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ public class SearchController : Controller {
}
[HttpPost(Name = "Search")]
public IEnumerable<Product> Post(string query, bool preview) {
public IEnumerable<Product> Post(string query) {
HashSet<Product> products = new();
query = query.Trim();
@@ -29,7 +29,6 @@ public class SearchController : Controller {
} catch (Exception e) {
_logger.LogError(8, e.Message);
}
return products;
}