dospunk/hatchway

Only the teacher should be able to close their code

Opened this issue · 0 comments

  • Add a teacherId field to the codes 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