From f50b26b0c7b6f0509d2146c9e8625f01c4ae6463 Mon Sep 17 00:00:00 2001 From: veloii <85405932+veloii@users.noreply.github.com> Date: Mon, 27 May 2024 22:47:22 +0100 Subject: [PATCH] fix: detention.lesson can be null --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 0307916..b74bee5 100644 --- a/src/types.ts +++ b/src/types.ts @@ -343,7 +343,7 @@ export interface Detention { subject: { id: number; name: string; - }; + } | null; } | null; lesson_pupil_behaviour: { reason: string;