From fef714b870965bd21cd61df8f4c4ab8e5b7ae72a Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Tue, 13 May 2025 10:45:31 +0200 Subject: [PATCH] fix: .js toevoegen aan imports --- backend/src/middleware/auth/checks/class-auth-checks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/middleware/auth/checks/class-auth-checks.ts b/backend/src/middleware/auth/checks/class-auth-checks.ts index bc213796..36c60bc5 100644 --- a/backend/src/middleware/auth/checks/class-auth-checks.ts +++ b/backend/src/middleware/auth/checks/class-auth-checks.ts @@ -3,7 +3,7 @@ import { AuthenticationInfo } from '../authentication-info.js'; import { AuthenticatedRequest } from '../authenticated-request.js'; import { fetchClass } from '../../../services/classes.js'; import { mapToUsername } from '../../../interfaces/user.js'; -import { getAllInvitations } from '../../../services/teacher-invitations'; +import { getAllInvitations } from '../../../services/teacher-invitations.js'; async function teaches(teacherUsername: string, classId: string): Promise { const clazz = await fetchClass(classId);