battlecode / galaxy

MIT License
10 stars 3 forks source link

fix 404 on scrimmaging page #716

Closed acrantel closed 8 months ago

acrantel commented 8 months ago

fixes 404 on scrimmaging page by moving check for # of tournaments = 1, which was a bug added in the external id private lookup pr

j-mao commented 8 months ago

[comment resolved in offline discussion]

I believe is_staff=True may expose tournament results to anyone who hits the API endpoint, client should aim to build in authentication if they want to access this?

acrantel commented 8 months ago

changed the uniqueness check to a existence check, and added comments