Skip to content

Commit

Permalink
Updated formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
uncheckederror committed Aug 9, 2024
1 parent c746179 commit eae3b27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NumberSearch.Mvc/Controllers/SearchController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public SearchController(MvcConfiguration mvcConfiguration)
/// <returns> A view of nothing, or the result of the query. </returns>
[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<IActionResult> SearchAsync(string query, string city, string failed, string view, int page = 1)
{
// Fail fast
Expand Down Expand Up @@ -147,7 +147,7 @@ public async Task<IActionResult> 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"
});
}
}
Expand Down

0 comments on commit eae3b27

Please sign in to comment.