aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.js b/index.js
index 8e7ea23..7b06459 100644
--- a/index.js
+++ b/index.js
@@ -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}`
+ });
}
});