Skip to content

Commit 0958091

Browse files
committed
fix
1 parent 727cc78 commit 0958091

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

services/app/apps/codebattle/lib/codebattle_web/controllers/api/v1/tournament_controller.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ defmodule CodebattleWeb.Api.V1.TournamentController do
1818
end
1919

2020
def show(conn, %{"id" => id}) do
21-
current_user = conn.assigns.current_user
2221
tournament = Tournament.Context.get!(id)
2322

2423
json(conn, %{tournament: tournament})

services/app/apps/codebattle/lib/codebattle_web/templates/tournament/edit.html.heex

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
window.csrf_token = "<%= csrf_token() %>"
33
</script>
44

5-
<div id="tournament-edit-root"
6-
data-tournament-id={@tournament.id}
7-
data-task-pack-names={Jason.encode!(@task_pack_names)}
8-
data-user-timezone={@user_timezone}>
5+
<div
6+
id="tournament-edit-root"
7+
data-tournament-id={@tournament.id}
8+
data-task-pack-names={Jason.encode!(@task_pack_names)}
9+
data-user-timezone={@user_timezone}
10+
>
911
</div>
10-

0 commit comments

Comments
 (0)