Skip to content

Commit

Permalink
Alteração SQL Injection 20231004
Browse files Browse the repository at this point in the history
  • Loading branch information
fernando-barboza committed Oct 4, 2023
1 parent b352d5c commit 7eb40d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controllers/ProductsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void Export()
}

[HttpGet("search")]
public IActionResult Search(string keywordtres)
public IActionResult Search(string keyword)
{
if (String.IsNullOrEmpty(keyword)) {
return Ok("Cannot search without a keyword");
Expand Down

0 comments on commit 7eb40d6

Please sign in to comment.