fixed delete bug
This commit is contained in:
parent
4e4dc5e168
commit
f3fe56e3d5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue