diff --git a/knockoutwhistweb/app/controllers/StatusController.scala b/knockoutwhistweb/app/controllers/StatusController.scala index 72daedb..134a1f0 100644 --- a/knockoutwhistweb/app/controllers/StatusController.scala +++ b/knockoutwhistweb/app/controllers/StatusController.scala @@ -34,7 +34,7 @@ class StatusController @Inject()( Json.obj( "status" -> "authenticated", "username" -> user.name, - "inGame" -> "false" + "inGame" -> false ) ) } else { @@ -43,7 +43,7 @@ class StatusController @Inject()( Json.obj( "status" -> "authenticated", "username" -> user.name, - "inGame" -> "true", + "inGame" -> true, "gameId" -> game.id ) )