summaryrefslogtreecommitdiff
path: root/bucky/app/bucky.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-01-08 15:36:13 +0100
committerJules Laplace <julescarbon@gmail.com>2018-01-08 15:36:13 +0100
commit4bfd9c88a538138963b15dee4695eb55d3bac23a (patch)
treea86b0701b57e255fbe83b8d455498f0fde93ab18 /bucky/app/bucky.js
parent5236a7e242a239b53baf600c0843c7e9339343b9 (diff)
fix wave url checking
Diffstat (limited to 'bucky/app/bucky.js')
-rw-r--r--bucky/app/bucky.js2
1 files changed, 0 insertions, 2 deletions
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)
}