From b408fdd80a5e5f830ead1916131d519f2e387b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rom=C3=A1n?= Date: Fri, 25 Dec 2020 13:32:19 +0100 Subject: [PATCH] fix typo remove "add" from the sentence "... add adding that `listItem` to the `req` so later middleware can access it." on line 46 --- src/utils/__tests__/error-middleware.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/__tests__/error-middleware.md b/src/utils/__tests__/error-middleware.md index 304214b..e2b53b7 100644 --- a/src/utils/__tests__/error-middleware.md +++ b/src/utils/__tests__/error-middleware.md @@ -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