From c36fd60027298bead200f64e348424985be84219 Mon Sep 17 00:00:00 2001 From: Elmar Kresse Date: Sun, 4 Feb 2024 01:18:43 +0100 Subject: [PATCH] fix:#26 linted for eslint const rule --- frontend/src/api/fetchCourse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/api/fetchCourse.ts b/frontend/src/api/fetchCourse.ts index b29fc43..933559e 100644 --- a/frontend/src/api/fetchCourse.ts +++ b/frontend/src/api/fetchCourse.ts @@ -70,7 +70,7 @@ export async function fetchModulesByCourseAndSemester( } export async function fetchAllModules(): Promise { - let modules: Module[] = []; + const modules: Module[] = []; await fetch("/api/modules") .then((response) => { return response.json() as Promise;