diff --git a/server/portal_server.js b/server/portal_server.js index 52883425..c6f74c68 100644 --- a/server/portal_server.js +++ b/server/portal_server.js @@ -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);