From 5c5a7428ebb13f3c5c517ceef2cff15678fb4c33 Mon Sep 17 00:00:00 2001 From: Frantz Arty Date: Thu, 31 Mar 2022 20:02:17 -0400 Subject: [PATCH] feat: remove picklist validation from methodologies --- src/validations/projects.validations.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/validations/projects.validations.js b/src/validations/projects.validations.js index 3d511e1d..34494b63 100644 --- a/src/validations/projects.validations.js +++ b/src/validations/projects.validations.js @@ -43,9 +43,7 @@ export const baseSchema = { .required(), projectStatusDate: Joi.date().required(), unitMetric: Joi.string().custom(pickListValidation('unitMetric')).required(), - methodology: Joi.string() - .custom(pickListValidation('methodology')) - .required(), + methodology: Joi.string().required(), validationBody: Joi.string() .custom(pickListValidation('validationBody')) .optional(),