From 60da10cb3ecaa3cf6620b35a00b211bb1c24937f Mon Sep 17 00:00:00 2001 From: Veloi <85405932+veloii@users.noreply.github.com> Date: Sat, 23 Sep 2023 17:18:45 +0100 Subject: [PATCH] fix: Student type and ActivityPoint type --- src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 6b040ce..16ea0e6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -31,7 +31,7 @@ export interface Student { is_disabled: boolean; display_two_way_communications: boolean; display_absences: boolean; - can_upload_attachments: string | null; + can_upload_attachments: boolean; display_event_badges: boolean; display_avatars: boolean; display_concern_submission: boolean; @@ -123,7 +123,7 @@ export interface ActivityPoint { custom_class: string | null; }; pupil_name: string; - lesson_name: string; + lesson_name: string | null; teacher_name: string; room_name: string | null; note: string;