From ed596b72bb85a979654b755b69ebc30fb2d39b88 Mon Sep 17 00:00:00 2001 From: LQ63 Date: Wed, 10 Dec 2025 14:57:37 +0100 Subject: [PATCH] feat(api): FRO-14 Create Game Added functionality to create Game so that it creates a game in the Backend --- knockoutwhistweb/app/controllers/MainMenuController.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/knockoutwhistweb/app/controllers/MainMenuController.scala b/knockoutwhistweb/app/controllers/MainMenuController.scala index a8891ed..ca87f87 100644 --- a/knockoutwhistweb/app/controllers/MainMenuController.scala +++ b/knockoutwhistweb/app/controllers/MainMenuController.scala @@ -44,8 +44,7 @@ class MainMenuController @Inject()( ) Ok(Json.obj( "status" -> "success", - "redirectUrl" -> routes.IngameController.game(gameLobby.id).url, - "content" -> IngameController.returnInnerHTML(gameLobby, gameLobby.logic.getCurrentState, request.user).toString + "gameId" -> gameLobby.id, )) } else { BadRequest(Json.obj(