Update SearchController.cs
This commit is contained in:
parent
144ff9478f
commit
ecb39e3b54
@ -28,7 +28,7 @@ public class SearchController : Controller {
|
|||||||
[EnableCors("_myAllowSpecificOrigins")]
|
[EnableCors("_myAllowSpecificOrigins")]
|
||||||
[HttpPost(Name = "Search")]
|
[HttpPost(Name = "Search")]
|
||||||
public IEnumerable<Product> Post(string query, bool? preview, bool? deep) {
|
public IEnumerable<Product> Post(string query, bool? preview, bool? deep) {
|
||||||
const int PREVIEW = 3;
|
const int PREVIEW = 4;
|
||||||
List<Product> products = new();
|
List<Product> products = new();
|
||||||
|
|
||||||
query = query.Trim();
|
query = query.Trim();
|
||||||
|
Loading…
Reference in New Issue
Block a user