Skip to content

Commit dbee0f5

Browse files
committed
Fix games controller
1 parent fc0cdba commit dbee0f5

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
@@ -60,7 +60,7 @@ defmodule CodebattleWeb.GameController do
6060
end
6161

6262
game ->
63-
if Playbook.Context.exists?(game.id) && can_access_game?(user, game) do
63+
if Playbook.Context.exists?(game.id) && can_access_game?(game, user) do
6464
score = Context.fetch_score_by_game_id(game.id)
6565

6666
game_params =

0 commit comments

Comments
 (0)