Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Neel Mazumdar committed May 29, 2020
1 parent b8288a1 commit c931f95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified data/auth.db3
Binary file not shown.
2 changes: 1 addition & 1 deletion products/products-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ router.get('/', (req, res) => {
res.status(200).json(product)
})
.catch(err => {
res.status(500).json({ error: 'Something went wrong'})
res.status(500).json({ error: 'Something went wrong', err})
})
})

Expand Down

0 comments on commit c931f95

Please sign in to comment.