Skip to content

Commit

Permalink
Update controllers.md
Browse files Browse the repository at this point in the history
Grammar fix on line 61 to say function that *passes* instead of the function that *pass* the control.
  • Loading branch information
LexiphanicStroon authored Sep 24, 2024
1 parent 8d9d00c commit 2fbf727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodeJS/express/controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ A middleware function typically takes three arguments (however, there is one tha

- `req` - The request object, which represents the incoming HTTP request.
- `res` - The response object, which represents the HTTP response that will be sent back to the client.
- `next` - The function that pass the control to the next middleware function in the chain (we'll get to this later). This is optional.
- `next` - The function that passes the control to the next middleware function in the chain (we'll get to this later). This is optional.

<div class="lesson-note" markdown="1">

Expand Down

0 comments on commit 2fbf727

Please sign in to comment.