diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2015-12-06 21:36:57 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2015-12-07 17:22:36 +0100 |
commit | 1cb4884db56c774e89db80bd0e79a9765441548d (patch) | |
tree | e292069f7fc3dee470b0e414cfb3add5e46b3e91 /middlewares/reqValidators/remote.js | |
parent | 876d1bcfd07b14d47ba377474e3bb680872d1f7a (diff) | |
download | PeerTube-1cb4884db56c774e89db80bd0e79a9765441548d.tar.gz PeerTube-1cb4884db56c774e89db80bd0e79a9765441548d.tar.zst PeerTube-1cb4884db56c774e89db80bd0e79a9765441548d.zip |
Logging refractoring
Diffstat (limited to 'middlewares/reqValidators/remote.js')
-rw-r--r-- | middlewares/reqValidators/remote.js | 2 |
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 | } |