You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a match is ongoing, players can send the scores and the length of the match to the backend.
There is validation missing for the time. For example, if "5 min" is sent, this will cause a crash and the match will not be ended.
We should catch this so it returns a 400 instead of a strange state where the score is added but the match is still ongoing.
The text was updated successfully, but these errors were encountered:
Type of Issue
Description
When a match is ongoing, players can send the scores and the length of the match to the backend.
There is validation missing for the time. For example, if "5 min" is sent, this will cause a crash and the match will not be ended.
We should catch this so it returns a 400 instead of a strange state where the score is added but the match is still ongoing.
The text was updated successfully, but these errors were encountered: