From fdb07342082961d309d502aee3833710e37a5eaa Mon Sep 17 00:00:00 2001 From: Abhinav Adduri Date: Thu, 8 Jun 2017 14:02:41 -0700 Subject: [PATCH] fixed bracket bug --- server/portal_server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/portal_server.js b/server/portal_server.js index c580286f..c7d305aa 100644 --- a/server/portal_server.js +++ b/server/portal_server.js @@ -84,9 +84,9 @@ app.get('/assets/download/:id', (req, res) => { log.info('Deleted:', id); } }); - - file_stream.pipe(res); }); + + file_stream.pipe(res); }) .catch(err => { res.sendStatus(404);