Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/utils/__tests__/error-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function errorHandler(err, req, res, next) {
Middleware have different purposes. For example, the `setListItem` middleware in
`src/routes/list-items-controller.js` is responsible for finding the requested
`listItem` by its ID, determining whether the current user is able to access
that `listItem`, add adding that `listItem` to the `req` so later middleware can
that `listItem`, adding that `listItem` to the `req` so later middleware can
access it.

## Exercise
Expand Down