summaryrefslogtreecommitdiff
path: root/bucky
diff options
context:
space:
mode:
Diffstat (limited to 'bucky')
-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)
}