Skip to content

Commit

Permalink
chore: text correction
Browse files Browse the repository at this point in the history
  • Loading branch information
benborla committed Nov 18, 2023
1 parent cb1fbcf commit 000b407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Controller/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function addToFavorite(
$fruit = $fruits->find($id);

// @INFO: Throw a 404 if a resource is not found
// @INFO: Ensure that request method is DELETE
// @INFO: Ensure that request method is POST
if (
!$fruit instanceof Fruit ||
$request->getMethod() !== Request::METHOD_POST
Expand Down

0 comments on commit 000b407

Please sign in to comment.