feat: submission endpoint geimplementeerd (ongetest)

This commit is contained in:
Adriaan Jacquet 2025-03-11 18:04:27 +01:00
parent b3299949b0
commit 7c453467df
5 changed files with 85 additions and 10 deletions

View file

@ -4,6 +4,8 @@ import {
getLearningObject,
} from '../controllers/learning-objects.js';
import submissionRoutes from './submissions.js';
const router = express.Router();
// DWENGO learning objects
@ -24,4 +26,6 @@ router.get('/', getAllLearningObjects);
// Example: http://localhost:3000/learningObject/un_ai7
router.get('/:hruid', getLearningObject);
router.use('/:hruid/submissions', submissionRoutes);
export default router;