From 5eb7632633668006a54706c350f5c19ae0904233 Mon Sep 17 00:00:00 2001 From: Jules Date: Sat, 17 Mar 2018 13:55:16 -0400 Subject: destroyfile or something --- bucky/app/bucky.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bucky/app/bucky.js') 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() }) -- cgit v1.2.3-70-g09d2