fix: linting errors

This commit is contained in:
Adriaan Jacquet 2025-05-18 16:46:09 +02:00
parent 705bce75e9
commit 56de56564f
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
import express from 'express';
import { createSubmissionHandler, deleteSubmissionHandler, getSubmissionHandler, getSubmissionsHandler } from '../controllers/submissions.js';
import { onlyAllowIfHasAccessToSubmission, onlyAllowIfHasAccessToSubmissionFromParams, onlyAllowSubmitter } from '../middleware/auth/checks/submission-checks.js';
import { adminOnly, studentsOnly } from '../middleware/auth/checks/auth-checks.js';
import { studentsOnly } from '../middleware/auth/checks/auth-checks.js';
const router = express.Router({ mergeParams: true });
router.get('/', onlyAllowIfHasAccessToSubmissionFromParams, getSubmissionsHandler);