Skip to content

Commit

Permalink
Make level required
Browse files Browse the repository at this point in the history
  • Loading branch information
mattobee committed May 5, 2024
1 parent 4060e97 commit db8fa87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schemas/course.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const event = defineType({
title: 'Level',
name: 'level',
type: 'string',
validation: Rule => Rule.required(),
options: {
list: [
{ title: 'Beginner', value: 'beginner' },
Expand Down

0 comments on commit db8fa87

Please sign in to comment.