aboutsummaryrefslogtreecommitdiff
path: root/js/student-mock.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/student-mock.js')
-rw-r--r--js/student-mock.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/js/student-mock.js b/js/student-mock.js
deleted file mode 100644
index 7c79e12..0000000
--- a/js/student-mock.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Student } from "./student-common.js";
-import { fetchStudentsMock as fetchStudents } from "./mock.js";
-
-async function fetchStudent(idFilter, nameFilter, groupFilter) {
- const students = await fetchStudents(idFilter, nameFilter, groupFilter);
- return students[0];
-}
-
-export { Student, fetchStudents, fetchStudent };