From 9876d989b52528574861ef44409a5b680e542340 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 14 Sep 2026 17:34:14 +0200 Subject: remove groups --- src/group-fetch.ts | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/group-fetch.ts (limited to 'src/group-fetch.ts') diff --git a/src/group-fetch.ts b/src/group-fetch.ts deleted file mode 100644 index de0991d..0000000 --- a/src/group-fetch.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { fetchStudents } from "./student-ENV.ts"; -import { Group, buildGroups, _groups } from "./group.ts"; - -/** - * Fetch all Groups and return them as a map. - */ -async function fetchGroups() { - if (_groups.size) { - return _groups; - } - - // Fetch all students and build the groups from them - const students = await fetchStudents(); - buildGroups(students); - return _groups; -} - -export { Group, buildGroups, fetchGroups }; -- cgit v1.2.3