From 4bfd9c88a538138963b15dee4695eb55d3bac23a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 8 Jan 2018 15:36:13 +0100 Subject: fix wave url checking --- bucky/app/bucky.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'bucky') diff --git a/bucky/app/bucky.js b/bucky/app/bucky.js index 0581bc9..84bbe70 100644 --- a/bucky/app/bucky.js +++ b/bucky/app/bucky.js @@ -396,7 +396,6 @@ var bucky = module.exports = { return res.sendStatus(404) } db.getFileById(id).then(function(file){ - console.log(file) if (file) { res.file = file next() @@ -539,7 +538,6 @@ var bucky = module.exports = { next() }, checkFilePrivacy: function(req, res, next) { - console.log(res.file) if (req.user.get('ulevel') !== 3 && req.user.get('username') !== res.file.get('username')) { return res.sendStatus(500) } -- cgit v1.2.3-70-g09d2