aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-09-03 20:45:53 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-09-03 20:45:53 +0200
commitd24e29dbff5a3daeb8df5685913406fde8a3fb69 (patch)
tree0effd894a4df6f0247164d4dcc31e5b21bfaa35d /src
parent2859ebb32b5e2891035578b2a7c9ac5e7112f52b (diff)
downloadbycs-sol-d24e29dbff5a3daeb8df5685913406fde8a3fb69.tar.gz
bycs-sol-d24e29dbff5a3daeb8df5685913406fde8a3fb69.zip
student: make parameters of fetchStudents optional
Diffstat (limited to 'src')
-rw-r--r--src/student-prod.ts2
1 files changed, 1 insertions, 1 deletions
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];
}