Only the teacher should be able to close their code
Opened this issue · 0 comments
dospunk commented
- Add a
teacherId
field to thecodes
table -
teacherId
should be a unique identifier generated on the front end - When using the
/closecode
endpoint, only allow closing the code if the user sends the correct ID