Extends
- Controller
Methods
(async) draft_player_to_team(req, res, next)
adds the selected player to the team
Parameters:
Name | Type | Description |
---|---|---|
req |
||
res |
||
next |
Returns:
Promise
(async) get_available_players(req, res, next)
Returns the API data containing the players available to draft
Parameters:
Name | Type | Description |
---|---|---|
req |
||
res |
||
next |
Returns:
Promise