-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
103 add tabela de chaveamento #143
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Algum erro está ocorrendo com a rotas do championships, não estão funcionando as rotas: Error retornado: INFO: 127.0.0.1:50486 - "POST /championships/create HTTP/1.1" 500 Internal Server Error The above exception was the direct cause of the following exception: Traceback (most recent call last): [SQL: SELECT championships.id AS championships_id, championships.name AS championships_name, championships.start_time AS championships_start_time, championships.min_teams AS championships_min_teams, championships.max_teams AS championships_max_teams, championships.prizes AS championships_prizes, championships.format AS championships_format, championships.rules AS championships_rules, championships.contact AS championships_contact, championships.visibility AS championships_visibility, championships.created_at AS championships_created_at, championships.admin_id AS championships_admin_id, championships.game_id AS championships_game_id, championships.matches AS championships_matches |
Descrição
CRUD de matches
Issues Relacionadas
#103
Pull Requests Relacionados
Informações Adicionais
Não tem remove pois foi dito que não era preciso, entretanto deixei comentado no código a função caso seja preciso implementá-lo.
Exemplos de URLS:
http://localhost:8000/matches/create
{
"championship_id": 7,
"team_1_id": 9,
"team_2_id": 10,
"round": 2,
"bracket": 1
}
http://localhost:8000/matches/update/1
{
"winner_team_id":10,
"result":"2x1"
}
http://localhost:8000/matches/
http://localhost:8000/championships/7/matches
Checklist: