aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-09-23 20:17:49 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-09-23 20:17:49 +0200
commitbe150d337eb9cf18ff7978339aecbbad68ce2cf9 (patch)
treec7b628c0304675ae84ca660e5ed9c84dfc8d6bd0
parentca8b26b7cee9649f6aad695f0f57d5205fe010c9 (diff)
downloadbycs-sol-be150d337eb9cf18ff7978339aecbbad68ce2cf9.tar.gz
bycs-sol-be150d337eb9cf18ff7978339aecbbad68ce2cf9.zip
students-prod: add trailing comma
-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 68b65eb..b2407db 100644
--- a/src/student-prod.ts
+++ b/src/student-prod.ts
@@ -74,7 +74,7 @@ async function fetchStudents(idFilter?: number, nameFilter?: string) {
return students.filter(
(s) =>
(typeof idFilter === "undefined" || s.id === idFilter) &&
- (typeof nameFilter === "undefined" || s.name.includes(nameFilter))
+ (typeof nameFilter === "undefined" || s.name.includes(nameFilter)),
);
}