summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bucky/app/bucky.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bucky/app/bucky.js b/bucky/app/bucky.js
index 2a362b5..81b71a4 100644
--- a/bucky/app/bucky.js
+++ b/bucky/app/bucky.js
@@ -521,7 +521,7 @@ var bucky = module.exports = {
res.sendStatus(500)
})
},
- destroyFile: function(req,res,next){
+ destroyFile: function(req, res, next){
var filePromises = db.destroyFiles([res.file])
Promise.all(filePromises).then( () => next() )
.catch(err => { console.error(err); next() })