feat: submission endpoint geimplementeerd (ongetest)
This commit is contained in:
parent
b3299949b0
commit
7c453467df
5 changed files with 85 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue