Skip to content

Commit

Permalink
Merge branch 'master' of github.com:lichess-org/lila
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jul 15, 2024
2 parents 0ce11fe + 9798fd3 commit 9a52c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/Game.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import lila.core.id.GameAnyId

final class Game(env: Env, apiC: => Api) extends LilaController(env):

def bookmark(gameId: GameId) = Auth { _ ?=> me ?=>
def bookmark(gameId: GameId) = AuthOrScopedBody(_.Web.Mobile) { _ ?=> me ?=>
env.bookmark.api.toggle(gameId, me).inject(NoContent)
}

Expand Down

0 comments on commit 9a52c36

Please sign in to comment.