Skip to content

Commit

Permalink
Update lib/wca_live_web/router.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Jonatan Kłosko <[email protected]>
  • Loading branch information
coder13 and jonatanklosko authored Nov 27, 2024
1 parent 5afccb0 commit 72526ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/wca_live_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ defmodule WcaLiveWeb.Router do
pipe_through :api

get "/competitions/:id/wcif", CompetitionController, :show_wcif
get "/competitions/:id/results", CompetitionController, :show_results
get "/competitions/:wca_id/id", CompetitionController, :show_competition_id

# Public results endpoint
get "/competitions/:id_or_wca_id/results", CompetitionController, :show_results

# Public scoretaking endpoints
post "/enter-attempt", CompetitionController, :enter_attempt
Expand Down

0 comments on commit 72526ca

Please sign in to comment.