fixed delete bug
This commit is contained in:
parent
4e4dc5e168
commit
f3fe56e3d5
@ -104,7 +104,7 @@ app.post('/delete/:id', (req, res) => {
|
|||||||
|
|
||||||
storage
|
storage
|
||||||
.delete(id, delete_token)
|
.delete(id, delete_token)
|
||||||
.then(() => {
|
.then((err) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
log.info('Deleted:', id);
|
log.info('Deleted:', id);
|
||||||
res.sendStatus(200);
|
res.sendStatus(200);
|
||||||
|
Loading…
Reference in New Issue
Block a user