Skip to content

Commit

Permalink
Fix type for assessment_access_rules.mode (#9993)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwalters512 committed Jun 11, 2024
1 parent 0ea1e7c commit f7d0aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/prairielearn/src/lib/db-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ export const AssessmentAccessRuleSchema = z.object({
end_date: DateFromISOString.nullable(),
exam_uuid: z.string().nullable(),
id: IdSchema,
mode: ModeSchema,
mode: ModeSchema.nullable(),
number: z.number(),
password: z.string().nullable(),
seb_config: z.any().nullable(),
Expand Down

0 comments on commit f7d0aec

Please sign in to comment.