]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/users.ts
Update translations
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / users.ts
index f7033f44a6c6605e26c93ed905bf34671fa28684..7ebea048d338905d2e2babd75149e5947d954533 100644 (file)
@@ -65,8 +65,11 @@ const usersAddValidator = [
     .custom(isVideoChannelUsernameValid),
 
   body('videoQuota')
+    .optional()
     .custom(isUserVideoQuotaValid),
+
   body('videoQuotaDaily')
+    .optional()
     .custom(isUserVideoQuotaDailyValid),
 
   body('role')