npm run format

This commit is contained in:
Danny Coates 2017-06-23 17:06:08 -07:00
parent eda901ba4a
commit d09b97db41
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 18 additions and 11 deletions

View file

@ -45,9 +45,12 @@ app.get('/', (req, res) => {
app.get('/exists/:id', (req, res) => {
const id = req.params.id;
storage.exists(id).then(() => {
res.sendStatus(200);
}).catch(err => res.sendStatus(404));
storage
.exists(id)
.then(() => {
res.sendStatus(200);
})
.catch(err => res.sendStatus(404));
});
app.get('/download/:id', (req, res) => {