I couldn't manage to handle the second test in POST /api/event/:id/attendance endpoint but I then realised this case should be impossible if frontend works properly.
If you think you know the solution, please commit it to this branch. If you think it's OK to merge the current code, please approve this PR. Please don't forget to comment your thoughts on this matter.
The test document is accesible here.
I couldn't manage to handle the second test in POST /api/event/:id/attendance endpoint but I then realised this case should be impossible if frontend works properly.
If you think you know the solution, please commit it to this branch. If you think it's OK to merge the current code, please approve this PR. Please don't forget to comment your thoughts on this matter.