From d24e29dbff5a3daeb8df5685913406fde8a3fb69 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 3 Sep 2026 20:45:53 +0200 Subject: student: make parameters of fetchStudents optional --- src/student-prod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/student-prod.ts') diff --git a/src/student-prod.ts b/src/student-prod.ts index 67379d9..8b737f8 100644 --- a/src/student-prod.ts +++ b/src/student-prod.ts @@ -81,7 +81,7 @@ async function fetchStudents(idFilter?: number, nameFilter?: string, groupFilter ); } -async function fetchStudent(idFilter: number, nameFilter: string, groupFilter: string) { +async function fetchStudent(idFilter?: number, nameFilter?: string, groupFilter?: string) { const students = await fetchStudents(idFilter, nameFilter, groupFilter); return students[0]; } -- cgit v1.2.3