fix:#26 lint and format

This commit is contained in:
Elmar Kresse
2024-02-02 00:27:48 +01:00
parent 25a7464e41
commit 5b45621ed1
2 changed files with 10 additions and 7 deletions

View File

@@ -20,7 +20,9 @@ export async function fetchCourse(): Promise<string[]> {
return courses;
}
export async function fetchCourseBySemester(semester: string): Promise<string[]> {
export async function fetchCourseBySemester(
semester: string,
): Promise<string[]> {
const courses: string[] = [];
await fetch("/api/courses?semester=" + semester)
.then((response) => {