From 7e0f50d6e0c7dc583d40e196c283eb20dc386ae6 Mon Sep 17 00:00:00 2001 From: Florent Date: Sat, 6 Aug 2022 15:20:43 +0200 Subject: Use single quotes in server/ and update eslint rules --- server/middlewares/validators/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/middlewares') diff --git a/server/middlewares/validators/config.ts b/server/middlewares/validators/config.ts index 1e839d577..a44fcb854 100644 --- a/server/middlewares/validators/config.ts +++ b/server/middlewares/validators/config.ts @@ -30,7 +30,7 @@ const customConfigUpdateValidator = [ body('signup.enabled').isBoolean().withMessage('Should have a valid signup enabled boolean'), body('signup.limit').isInt().withMessage('Should have a valid signup limit'), body('signup.requiresEmailVerification').isBoolean().withMessage('Should have a valid requiresEmailVerification boolean'), - body('signup.minimumAge').isInt().withMessage("Should have a valid minimum age required"), + body('signup.minimumAge').isInt().withMessage('Should have a valid minimum age required'), body('admin.email').isEmail().withMessage('Should have a valid administrator email'), body('contactForm.enabled').isBoolean().withMessage('Should have a valid contact form enabled boolean'), @@ -38,7 +38,7 @@ const customConfigUpdateValidator = [ body('user.videoQuota').custom(isUserVideoQuotaValid).withMessage('Should have a valid video quota'), body('user.videoQuotaDaily').custom(isUserVideoQuotaDailyValid).withMessage('Should have a valid daily video quota'), - body('videoChannels.maxPerUser').isInt().withMessage("Should have a valid maximum amount of video channels per user"), + body('videoChannels.maxPerUser').isInt().withMessage('Should have a valid maximum amount of video channels per user'), body('transcoding.enabled').isBoolean().withMessage('Should have a valid transcoding enabled boolean'), body('transcoding.allowAdditionalExtensions').isBoolean().withMessage('Should have a valid additional extensions boolean'), -- cgit v1.2.3