diff options
Diffstat (limited to 'routes')
-rw-r--r-- | routes/api/members.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/api/members.js b/routes/api/members.js index 36b66aa..df5195f 100644 --- a/routes/api/members.js +++ b/routes/api/members.js @@ -33,8 +33,8 @@ router.post('/', (req, res) => { } members.push(newMember); - //res.json(members); - res.redirect('/nodejs'); + res.json(members); + //res.redirect('/nodejs'); }); // Updat Member |