Skip to content

Commit 07cafdf

Browse files
committed
Fix
1 parent aed1cc6 commit 07cafdf

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

services/app/apps/codebattle/lib/codebattle_web/controllers/ext_api/tourtnament_controller.ex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ defmodule CodebattleWeb.ExtApi.TournamentController do
77

88
# Define the JSON file paths
99
@json_files [
10-
"/json/tournament1.json",
11-
"/json/tournament2.json",
12-
"/json/tournament3.json",
13-
"/json/tournament4.json",
14-
"/json/tournament5.json",
15-
"/json/tournament6.json",
16-
"/json/tournament7.json"
10+
"/json/tournament_state_round1.json",
11+
"/json/tournament_state_round2.json",
12+
"/json/tournament_state_round3.json",
13+
"/json/tournament_state_round4.json",
14+
"/json/tournament_state_round5.json",
15+
"/json/tournament_state_round6.json",
16+
"/json/tournament_state_round7.json"
1717
]
1818

1919
# Use an Agent to store the current index

services/app/apps/codebattle/lib/codebattle_web/router.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ defmodule CodebattleWeb.Router do
7272
post("/users", UserController, :create)
7373
post("/tasks", TaskController, :create)
7474
post("/task_packs", TaskPackController, :create)
75-
get("tournaments/:id", TournamentController, :show)
75+
get("/tournaments/:id", TournamentController, :show)
7676
end
7777

7878
scope "/", CodebattleWeb do

0 commit comments

Comments
 (0)