diff --git a/NumberSearch.Mvc/Controllers/SearchController.cs b/NumberSearch.Mvc/Controllers/SearchController.cs index 2af4ba80..50a2177c 100644 --- a/NumberSearch.Mvc/Controllers/SearchController.cs +++ b/NumberSearch.Mvc/Controllers/SearchController.cs @@ -29,7 +29,7 @@ public SearchController(MvcConfiguration mvcConfiguration) /// A view of nothing, or the result of the query. [HttpGet("Search")] [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] - [OutputCache(Duration = 1, VaryByQueryKeys = [ "query","page","view" ])] + [OutputCache(Duration = 1, VaryByQueryKeys = ["query", "page", "view"])] public async Task SearchAsync(string query, string city, string failed, string view, int page = 1) { // Fail fast @@ -147,7 +147,7 @@ public async Task SearchAsync(string query, string city, string f Cart = cart, Query = query, Message = port.Wireless ? "❌ This wireless phone number cannot be ported to our network!" : "❌ This phone number cannot be ported to our network!", - AlertType = "alert-danger" + AlertType = "alert-danger" }); } }