oyvinddd / officesports

An app for keeping scores against colleagues in table tennis, foosball and pool
Creative Commons Zero v1.0 Universal
16 stars 2 forks source link

Add date validation when registering matches #99

Open oyvinddd opened 2 years ago

oyvinddd commented 2 years ago

The current date should be encoded into the QR codes and the register match endpoint should check if the encoded date is today before successfully registering matches.

oyvinddd commented 2 years ago

On the app-side we should update our QR code implementation to encode todays date and also the MatchRegistration object should have a date field.