fix: consistente naamgeving

This commit is contained in:
Gabriellvl 2025-03-07 10:55:44 +01:00
parent 037763a810
commit 3b71c80be6
11 changed files with 17 additions and 17 deletions

View file

@ -1,6 +1,6 @@
import express from 'express'
import { getAllClassesHandler, getClassHandler, getClassStudentsHandler } from '../controllers/classes';
import assignmentRouter from './assignment.js';
import assignmentRouter from './assignments.js';
const router = express.Router();
@ -12,7 +12,7 @@ router.get('/:id', getClassHandler);
router.get('/:id/invitations', (req, res) => {
res.json({
invitations: [
invitations: [
'0'
],
});
@ -22,4 +22,4 @@ router.get('/:id/students', getClassStudentsHandler);
router.use('/:classid/assignments', assignmentRouter);
export default router
export default router