Skip to content

Commit 4802b91

Browse files
committed
Fix warining
1 parent e29b00c commit 4802b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/app/apps/codebattle/lib/codebattle_web/controllers/game_controller.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ defmodule CodebattleWeb.GameController do
139139
)
140140
end
141141

142-
defp can_access_game?(game, %{subscription_type: :admin}), do: true
142+
defp can_access_game?(_game, %{subscription_type: :admin}), do: true
143143

144144
# defp can_see_game?(%{subscription_type: :premium} = user, game) do
145145
defp can_access_game?(game, user) do

0 commit comments

Comments
 (0)