fix: consistente naamgeving
This commit is contained in:
parent
037763a810
commit
3b71c80be6
11 changed files with 17 additions and 17 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue