fix: requireFields toegevoegd op plaatsen
This commit is contained in:
parent
dde672befd
commit
441b77b8cd
3 changed files with 2 additions and 1 deletions
|
@ -38,6 +38,7 @@ export async function getAllSubmissionsHandler(req: Request, res: Response): Pro
|
|||
res.json({ submissions });
|
||||
}
|
||||
|
||||
// TODO: gerald moet nog dingen toevoegen aan de databank voor dat dit gefinaliseerd kan worden
|
||||
export async function createSubmissionHandler(req: Request, res: Response): Promise<void> {
|
||||
const submissionDTO = req.body as SubmissionDTO;
|
||||
const submission = await createSubmission(submissionDTO);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue