fixed bracket bug

This commit is contained in:
Abhinav Adduri 2017-06-08 14:02:41 -07:00
parent 38449a23fb
commit fdb0734208

View file

@ -84,9 +84,9 @@ app.get('/assets/download/:id', (req, res) => {
log.info('Deleted:', id); log.info('Deleted:', id);
} }
}); });
});
file_stream.pipe(res); file_stream.pipe(res);
});
}) })
.catch(err => { .catch(err => {
res.sendStatus(404); res.sendStatus(404);