We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5295aac commit c469895Copy full SHA for c469895
src/todo/todo.controller.js
@@ -13,7 +13,7 @@ function search(req, res) {
13
function get(req, res) {
14
todo.getAllTodos()
15
.then(todos => {
16
- return res.snd(todos);
+ return res.send(todos);
17
})
18
.catch(error => handleCatch(error, res));
19
}
0 commit comments