Skip to content

Commit

Permalink
Refactor: additionalComment field in consultationSchemas.js to allow …
Browse files Browse the repository at this point in the history
…null values
  • Loading branch information
georgiganchev-7DIGIT committed Apr 11, 2024
1 parent 89fd79e commit c0f499d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/schemas/consultationSchemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const securityCheckAnswersSchema = yup.object().shape({
addressedNeeds: yup.number().required(),
improveWellbeing: yup.number().required(),
feelingsNow: yup.number().required(),
additionalComment: yup.string().notRequired(),
additionalComment: yup.string().notRequired().nullable(),
});

export const unblockSlotSchema = getAllConsultationsSchema.shape({
Expand Down

0 comments on commit c0f499d

Please sign in to comment.