Skip to content

Commit

Permalink
Alteração SQL Injection
Browse files Browse the repository at this point in the history
  • Loading branch information
fernando-barboza committed Oct 2, 2023
1 parent aa1510a commit 9dbda4c
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 keywords)
public IActionResult Search(string keyword)
{
if (String.IsNullOrEmpty(keyword)) {
return Ok("Cannot search without a keyword");
Expand Down

0 comments on commit 9dbda4c

Please sign in to comment.