From 95edfaa0c429559a695500df38246867859d8afa Mon Sep 17 00:00:00 2001 From: sahilsbrar Date: Tue, 16 Mar 2021 15:31:11 -0600 Subject: [PATCH] AM-208 Changed Contact form character limit from 301 to 1000. --- src/routes/others/validations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/others/validations.js b/src/routes/others/validations.js index b1a8c92..7557f85 100644 --- a/src/routes/others/validations.js +++ b/src/routes/others/validations.js @@ -20,8 +20,8 @@ module.exports = { errors.message = 'Is required'; } else if (typeof data.message !== 'string') { errors.message = 'Should be a string'; - } else if (data.message.length > 300) { - errors.message = 'Should be less than 301 characters'; + } else if (data.message.length > 999) { + errors.message = 'Should be less than 1000 characters'; } if (typeof data.name === 'undefined' || data.name === '') {