fix(backend): Verloren Swagger setup

This commit is contained in:
Tibo De Peuter 2025-03-13 21:46:41 +01:00
parent 5986ca57bf
commit 55ec9ca02e
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
3 changed files with 8 additions and 9 deletions

View file

@ -1,10 +1,6 @@
import express from 'express';
import { getFrontendAuthConfig } from '../controllers/auth.js';
import {
authenticatedOnly,
studentsOnly,
teachersOnly,
} from '../middleware/auth/auth.js';
import { authenticatedOnly, studentsOnly, teachersOnly } from '../middleware/auth/auth.js';
const router = express.Router();
// Returns auth configuration for frontend