momentumfrc / attendance-manager

Keep track of the attendence of our team members by allowing mentors to check students in and out.
0 stars 0 forks source link

Gracefully handle simultaneous attendance events #75

Closed lost1227 closed 4 months ago

lost1227 commented 4 months ago

Sometimes, two users will check-in or check-out the same student at the same time. This will cause one of the two users to error out, since the server disallows such repeated attendance events. However, the client should recognize this error and handle it gracefully (just update the local student cache) instead of falling back to the error page.