Skip to content

Commit

Permalink
feat: remove picklist validation from methodologies
Browse files Browse the repository at this point in the history
  • Loading branch information
frantzarty committed Apr 1, 2022
1 parent 850d3ec commit 5c5a742
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/validations/projects.validations.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 5c5a742

Please sign in to comment.