POLIMI-FER-codebenders / tournament_app

Tournament app for Code Defenders made by student team of POLIMI and FER students
GNU Lesser General Public License v3.0
0 stars 0 forks source link

match info api returns bad request when match is ended #111

Closed FabioPatella closed 1 year ago

ricnava00 commented 1 year ago

I can't reproduce this, calling /api/match/info with a valid gameID always works. I see a 400 error when opening the info for an ended tournament, if that's what you're referring to it's because the request is asking for game NaN, which seems to be a problem on the frontend (if it isn't what you were referring to, then this is a separate bug)

FabioPatella commented 1 year ago

yes i was referring to a ended tournament. it was also a bug in the frontend, i have fixed but i have noticed that this api requires authentication and it shouldn't

ricnava00 commented 1 year ago

115