Skip to content

Commit c469895

Browse files
committed
Fixed small response
1 parent 5295aac commit c469895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/todo/todo.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function search(req, res) {
1313
function get(req, res) {
1414
todo.getAllTodos()
1515
.then(todos => {
16-
return res.snd(todos);
16+
return res.send(todos);
1717
})
1818
.catch(error => handleCatch(error, res));
1919
}

0 commit comments

Comments
 (0)