fixed bracket bug
This commit is contained in:
parent
38449a23fb
commit
fdb0734208
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue