Skip to content

Commit

Permalink
typo from objet to object
Browse files Browse the repository at this point in the history
There was a small typo at line 90. Corrected it from objet to object
  • Loading branch information
ejazahm3d committed Aug 14, 2019
1 parent 7f5a03f commit 4a77f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/simple-todo-list/5-the-rest-api.md
Expand Up @@ -87,7 +87,7 @@ Add the create and delete features.
}
```

The `Context` objet, which is passed to each route handler, contains the express [request object](https://expressjs.com/en/4x/api.html#req). This represents the HTTP request and has properties for the request query string, parameters, body, HTTP headers, and so on.
The `Context` object, which is passed to each route handler, contains the express [request object](https://expressjs.com/en/4x/api.html#req). This represents the HTTP request and has properties for the request query string, parameters, body, HTTP headers, and so on.

Now type a new todo in the input text and press Enter. The task appears in the todo list. Refresh the page, it should still be there. If you click on the checkbox, the todo is successfully deleted.

Expand Down

0 comments on commit 4a77f71

Please sign in to comment.