Skip to content

Commit

Permalink
Fix issue reported by #11
Browse files Browse the repository at this point in the history
  • Loading branch information
edysegura committed Sep 17, 2019
1 parent 0dfb6fc commit 1594c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/taskApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ router.get('/', (request, response) => {
const tasks = Object.keys(db).map(toArray)
tasks.length
? response.json(tasks)
: response.status(204).send('')
: response.status(204).end('')
})

router.get('/:id', (request, response) => {
Expand Down

0 comments on commit 1594c73

Please sign in to comment.