fixed delete bug

This commit is contained in:
Abhinav Adduri 2017-06-19 16:11:33 -07:00
parent 4e4dc5e168
commit f3fe56e3d5
1 changed files with 1 additions and 1 deletions

View File

@ -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);