We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29b00c commit 4802b91Copy full SHA for 4802b91
services/app/apps/codebattle/lib/codebattle_web/controllers/game_controller.ex
@@ -139,7 +139,7 @@ defmodule CodebattleWeb.GameController do
139
)
140
end
141
142
- defp can_access_game?(game, %{subscription_type: :admin}), do: true
+ defp can_access_game?(_game, %{subscription_type: :admin}), do: true
143
144
# defp can_see_game?(%{subscription_type: :premium} = user, game) do
145
defp can_access_game?(game, user) do
0 commit comments