From 4079bbdd4850b8da129f4396a7442dbd6d0c4fee Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sun, 3 Nov 2019 17:33:34 -0800 Subject: [PATCH] fix(array limits): 20 elem array enforcement for all tiers --- src/routes/v3/route-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/v3/route-utils.js b/src/routes/v3/route-utils.js index be11a4e..d49b29d 100644 --- a/src/routes/v3/route-utils.js +++ b/src/routes/v3/route-utils.js @@ -26,7 +26,7 @@ module.exports = { // or not. function validateArraySize(req, array) { const FREEMIUM_INPUT_SIZE = 20 - const PRO_INPUT_SIZE = 100 + const PRO_INPUT_SIZE = 20 if (req.locals && req.locals.proLimit) { if (array.length <= PRO_INPUT_SIZE) return true