Skip to content

Commit

Permalink
Refactor: Make mentor feedback optional in addFeedbackMonthlyCheckInS…
Browse files Browse the repository at this point in the history
…chema
  • Loading branch information
mayura-andrew committed Sep 29, 2024
1 parent cedd5cd commit 87a7e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemas/mentee-routes.schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ export const postMonthlyCheckInSchema = z.object({
export const addFeedbackMonthlyCheckInSchema = z.object({
menteeId: z.string(),
checkInId: z.string(),
mentorFeedback: z.string().min(5, 'Please provide a valid feedback'),
mentorFeedback: z.string().optional(),
isCheckedByMentor: z.boolean()
})

0 comments on commit 87a7e02

Please sign in to comment.