diff --git a/pass/routes/key.js b/pass/routes/key.js index 5d85e83a4fb0511bc843e69074a49fcde57cd978..bdde5b04939efc7f585d976201a9870a18d8ef03 100644 --- a/pass/routes/key.js +++ b/pass/routes/key.js @@ -164,7 +164,7 @@ router.use( .optional({ checkFalsy: true }) .isInt() .toInt() - .isIn([300, 600, 900, 1200, 1800, 3600]), + .isIn(config.get("price.purchasable")), (req, res, next) => { // Input Validation const errors = validationResult(req);