Skip to content

Commit

Permalink
feat: project sector can accept any value
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Apr 6, 2022
1 parent bc80747 commit d2a0ae9
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 @@ -22,9 +22,7 @@ export const baseSchema = {
projectName: Joi.string().required(),
projectLink: Joi.string().required(),
projectDeveloper: Joi.string().required(),
sector: Joi.string()
.custom(pickListValidation('projectSector', 'sector'))
.required(),
sector: Joi.string().required(),
projectType: Joi.string()
.custom(pickListValidation('projectType'))
.required(),
Expand Down

0 comments on commit d2a0ae9

Please sign in to comment.