fix: .js toevoegen aan imports

This commit is contained in:
Tibo De Peuter 2025-04-24 10:53:08 +02:00
parent 6847961688
commit 04fd54e3d6
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
25 changed files with 73 additions and 75 deletions

View file

@ -11,10 +11,9 @@ import {
updateStudentJoinRequestHandler,
} from '../controllers/teachers.js';
import invitationRouter from './teacher-invitations.js';
import { adminOnly } from '../middleware/auth/checks/auth-checks';
import { onlyAllowUserHimself } from '../middleware/auth/checks/user-auth-checks';
import { onlyAllowTeacherOfClass } from '../middleware/auth/checks/class-auth-checks';
import { adminOnly } from '../middleware/auth/checks/auth-checks.js';
import { onlyAllowUserHimself } from '../middleware/auth/checks/user-auth-checks.js';
import { onlyAllowTeacherOfClass } from '../middleware/auth/checks/class-auth-checks.js';
const router = express.Router();
// Root endpoint used to search objects