Skip to content

Commit

Permalink
Fix grammar mistake (#1527)
Browse files Browse the repository at this point in the history
* Fix grammar mistake

* Simplify correction
  • Loading branch information
souzasmatheus authored and jonathanong committed Aug 18, 2021
1 parent 7e532d2 commit 3f79021
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/api/index.md
Expand Up @@ -46,8 +46,7 @@ app.listen(3000);
control flows back "upstream".

The following example responds with "Hello World", however first the request flows through
the `x-response-time` and `logging` middleware to mark when the request started, then continue
to yield control through the response middleware. When a middleware invokes `next()`
the `x-response-time` and `logging` middleware to mark when the request started, then yields control through the response middleware. When a middleware invokes `next()`
the function suspends and passes control to the next middleware defined. After there are no more
middleware to execute downstream, the stack will unwind and each middleware is resumed to perform
its upstream behaviour.
Expand Down

0 comments on commit 3f79021

Please sign in to comment.