FYDP-1nil / backend

Fourth Year Design Project @ UWaterloo
https://www.eng.uwaterloo.ca/2023-capstone-design/electrical-computer/
3 stars 1 forks source link

[Mantle] Make the endpoint POST /league/join return the league id instead of a message #28

Closed KnotScientific closed 1 year ago

KnotScientific commented 1 year ago

Since we are incorporating leagues into our games. We need to pass in what league the game belongs to when a game is first created. Currently the endpoint /league/join returns a success message. It should return the league_id.

image

Shreyas15srivatsa commented 1 year ago

Image

Shreyas15srivatsa commented 1 year ago

PR -> https://github.com/FYDP-1nil/backend/pull/31