Skip to content

Commit 241eed0

Browse files
authored
fix: Allow null requesting_to_join_class (#68)
1 parent 47d9378 commit 241eed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type User = Model<
1919
is_staff: boolean
2020
is_active: boolean
2121
date_joined: Date
22-
requesting_to_join_class?: Class["id"]
22+
requesting_to_join_class?: Class["id"] | null
2323
teacher?: _UserTeacher<Teacher>
2424
student?: _UserStudent<Student>
2525
}

0 commit comments

Comments
 (0)