Skip to content

Commit

Permalink
add nullable to scheduled phase
Browse files Browse the repository at this point in the history
  • Loading branch information
ajay-sentry committed Sep 6, 2024
1 parent 584f6eb commit 32ba54f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/services/account/useAccountDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,13 @@ export const AccountDetailsSchema = z.object({
.nullable(),
scheduleDetail: z
.object({
scheduledPhase: z.object({
quantity: z.number(),
plan: z.string(),
startDate: z.number(),
}),
scheduledPhase: z
.object({
quantity: z.number(),
plan: z.string(),
startDate: z.number(),
})
.nullable(),
})
.nullable(),
studentCount: z.number(),
Expand Down

0 comments on commit 32ba54f

Please sign in to comment.