uwbaddev / baddie-match

Web app to track our badminton matches
2 stars 2 forks source link

Parse score to int before submitting #31

Closed jennyy-lei closed 2 years ago

jennyy-lei commented 2 years ago

Make sure to submit an int to the API for scores, otherwise the backend does string comparisons instead which is bad since "21" < "3" in string comparisons.