diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,7 +19,8 @@ app.get('/api/members/:id', (req, res) => { res.json(members.filter(member => member.id === parseInt(req.params.id))); } else { - res.status(400).json({ msg: `No member with the id of ${req.params.id}` }); + res.status(400).json({ msg: `No member with the id of ${req.params.id}` + }); } }); |