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 9dbda4c commit b352d5c
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 keyword)
public IActionResult Search(string keywordtres)
{
if (String.IsNullOrEmpty(keyword)) {
return Ok("Cannot search without a keyword");
Expand Down

0 comments on commit b352d5c

Please sign in to comment.