aboutsummaryrefslogtreecommitdiffhomepage
path: root/middlewares/reqValidators
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2015-12-06 21:36:57 +0100
committerChocobozzz <florian.bigard@gmail.com>2015-12-07 17:22:36 +0100
commit1cb4884db56c774e89db80bd0e79a9765441548d (patch)
treee292069f7fc3dee470b0e414cfb3add5e46b3e91 /middlewares/reqValidators
parent876d1bcfd07b14d47ba377474e3bb680872d1f7a (diff)
downloadPeerTube-1cb4884db56c774e89db80bd0e79a9765441548d.tar.gz
PeerTube-1cb4884db56c774e89db80bd0e79a9765441548d.tar.zst
PeerTube-1cb4884db56c774e89db80bd0e79a9765441548d.zip
Logging refractoring
Diffstat (limited to 'middlewares/reqValidators')
-rw-r--r--middlewares/reqValidators/remote.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/middlewares/reqValidators/remote.js b/middlewares/reqValidators/remote.js
index 642dad1c7..a9d2cdf20 100644
--- a/middlewares/reqValidators/remote.js
+++ b/middlewares/reqValidators/remote.js
@@ -12,7 +12,7 @@
12 req.checkBody('key', 'Should have a key').notEmpty() 12 req.checkBody('key', 'Should have a key').notEmpty()
13 req.checkBody('data', 'Should have data').notEmpty() 13 req.checkBody('data', 'Should have data').notEmpty()
14 14
15 logger.debug('Checking secureRequest parameters', { parameters: req.body }) 15 logger.debug('Checking secureRequest parameters', { parameters: { data: req.body.data, keyLength: req.body.key.length } })
16 16
17 checkErrors(req, res, next) 17 checkErrors(req, res, next)
18 } 18 }