From e6a8bd845d0211b06c12b575bd15c5f105b5e789 Mon Sep 17 00:00:00 2001 From: Carmine DiMascio Date: Sun, 24 Mar 2019 22:01:27 -0400 Subject: [PATCH] Update README.md --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 89123209..6f6c6f9e 100644 --- a/README.md +++ b/README.md @@ -63,16 +63,11 @@ app.get('/v1/pets', function(req, res, next) { }); app.post('/v1/pets', function(req, res, next) { - res.json({ - name: 'sparky', - }); + res.json({ name: 'sparky' }); }); app.get('/v1/pets/:id', function(req, res, next) { - res.json({ - id: req.params.id, - name: 'sparky', - }); + res.json({ id: req.params.id, name: 'sparky' }); }); // Register error handler!