aboutsummaryrefslogtreecommitdiff
path: root/js/student-mock.js
blob: 7c79e12243fdf82bf1b8b7e698256e865a9d881c (plain)
1
2
3
4
5
6
7
8
9
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 };