mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
fixed delete bug
This commit is contained in:
@@ -104,7 +104,7 @@ app.post('/delete/:id', (req, res) => {
|
||||
|
||||
storage
|
||||
.delete(id, delete_token)
|
||||
.then(() => {
|
||||
.then((err) => {
|
||||
if (!err) {
|
||||
log.info('Deleted:', id);
|
||||
res.sendStatus(200);
|
||||
|
||||
Reference in New Issue
Block a user