Skip to content

Commit

Permalink
feat: make registryOfOrigin accept any string value
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Apr 6, 2022
1 parent fdd0077 commit bc80747
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 @@ -17,9 +17,7 @@ export const baseSchema = {
projectId: Joi.string().required(),
currentRegistry: Joi.string().optional(),
originProjectId: Joi.string().required(),
registryOfOrigin: Joi.string()
.custom(pickListValidation('registries', 'registryOfOrigin'))
.required(),
registryOfOrigin: Joi.string().required(),
program: Joi.string().optional(),
projectName: Joi.string().required(),
projectLink: Joi.string().required(),
Expand Down

0 comments on commit bc80747

Please sign in to comment.