From b3d5cb92b100406df98e5cd1f54eff9cd2078b1c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 18 Feb 2021 11:07:08 +0100 Subject: Add ability to update torrents cache in client --- server/middlewares/validators/config.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/middlewares/validators/config.ts') diff --git a/server/middlewares/validators/config.ts b/server/middlewares/validators/config.ts index 71098ff99..a85883b19 100644 --- a/server/middlewares/validators/config.ts +++ b/server/middlewares/validators/config.ts @@ -25,6 +25,7 @@ const customConfigUpdateValidator = [ body('cache.previews.size').isInt().withMessage('Should have a valid previews cache size'), body('cache.captions.size').isInt().withMessage('Should have a valid captions cache size'), + body('cache.torrents.size').isInt().withMessage('Should have a valid torrents cache size'), body('signup.enabled').isBoolean().withMessage('Should have a valid signup enabled boolean'), body('signup.limit').isInt().withMessage('Should have a valid signup limit'), -- cgit v1.2.3