diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-09-14 17:34:14 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-09-14 17:35:34 +0200 |
| commit | 9876d989b52528574861ef44409a5b680e542340 (patch) | |
| tree | 763f0517114edbee346bf49b4f4e640b99d2cc21 /src/group-fetch.ts | |
| parent | d18d5f869d57d31c987b4b7fe0c7feae9aba8b2e (diff) | |
| download | bycs-sol-9876d989b52528574861ef44409a5b680e542340.tar.gz bycs-sol-9876d989b52528574861ef44409a5b680e542340.zip | |
remove groups
Diffstat (limited to 'src/group-fetch.ts')
| -rw-r--r-- | src/group-fetch.ts | 18 |
1 files changed, 0 insertions, 18 deletions
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 }; |
