diff --git a/knockoutwhistfrontend b/knockoutwhistfrontend index 92a7bc0..2931666 160000 --- a/knockoutwhistfrontend +++ b/knockoutwhistfrontend @@ -1 +1 @@ -Subproject commit 92a7bc05866b77053ebb1d074ad207be8348f9d6 +Subproject commit 29316666491276abe5d2083ee6c39b5ac553fe5f diff --git a/knockoutwhistweb/app/controllers/StatusController.scala b/knockoutwhistweb/app/controllers/StatusController.scala index e57f5a4..adca09b 100644 --- a/knockoutwhistweb/app/controllers/StatusController.scala +++ b/knockoutwhistweb/app/controllers/StatusController.scala @@ -34,6 +34,7 @@ class StatusController @Inject()( Json.obj( "status" -> "authenticated", "username" -> user.name, + "userId" -> user.id, "inGame" -> false ) ) @@ -43,6 +44,7 @@ class StatusController @Inject()( Json.obj( "status" -> "authenticated", "username" -> user.name, + "userId" -> user.id, "inGame" -> true, "gameId" -> game.id )