diff options
author | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:45:22 +0200 |
---|---|---|
committer | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:45:22 +0200 |
commit | 7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70 (patch) | |
tree | 8042222877ed6dc983ff0e13ea3ec56aa1a4386a /server/middlewares | |
parent | 4ffdcfc63b8c804a0aea20609544c859ab57318b (diff) | |
download | PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.gz PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.zst PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.zip |
Rename downloadingEnabled property to downloadEnabled
Diffstat (limited to 'server/middlewares')
-rw-r--r-- | server/middlewares/validators/videos/videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/videos/videos.ts b/server/middlewares/validators/videos/videos.ts index bdba87496..27e8a7449 100644 --- a/server/middlewares/validators/videos/videos.ts +++ b/server/middlewares/validators/videos/videos.ts | |||
@@ -349,7 +349,7 @@ function getCommonVideoAttributes () { | |||
349 | .optional() | 349 | .optional() |
350 | .toBoolean() | 350 | .toBoolean() |
351 | .custom(isBooleanValid).withMessage('Should have comments enabled boolean'), | 351 | .custom(isBooleanValid).withMessage('Should have comments enabled boolean'), |
352 | body('downloadingEnabled') | 352 | body('downloadEnabled') |
353 | .optional() | 353 | .optional() |
354 | .toBoolean() | 354 | .toBoolean() |
355 | .custom(isBooleanValid).withMessage('Should have downloading enabled boolean'), | 355 | .custom(isBooleanValid).withMessage('Should have downloading enabled boolean'), |