feat: assignment/questions endpoint toegevoegd
This commit is contained in:
parent
136dcb4c71
commit
62711f323d
7 changed files with 82 additions and 80 deletions
|
@ -11,13 +11,6 @@ router.post('/', createGroupHandler);
|
|||
// Information about a group (members, ... [TODO DOC])
|
||||
router.get('/:groupid', getGroupHandler);
|
||||
|
||||
router.get('/:groupid', getGroupSubmissionsHandler);
|
||||
|
||||
// The list of questions a group has made
|
||||
router.get('/:id/questions', (req, res) => {
|
||||
res.json({
|
||||
questions: ['0'],
|
||||
});
|
||||
});
|
||||
router.get('/:groupid/submissions', getGroupSubmissionsHandler);
|
||||
|
||||
export default router;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue