From e2ce5be2c07d7df68eca6b9fe15322fffc1f1643 Mon Sep 17 00:00:00 2001 From: Janis Date: Sat, 22 Nov 2025 21:35:08 +0100 Subject: [PATCH] fix(api): Fixed a bug where the game would reload on game start --- knockoutwhist | 2 +- knockoutwhistweb/app/controllers/IngameController.scala | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/knockoutwhist b/knockoutwhist index e432283..ec94ecd 160000 --- a/knockoutwhist +++ b/knockoutwhist @@ -1 +1 @@ -Subproject commit e4322839d1610ec2f641e2022426408faa2c0aa1 +Subproject commit ec94ecd46c4ae89191f99638fab1466e7093ed1e diff --git a/knockoutwhistweb/app/controllers/IngameController.scala b/knockoutwhistweb/app/controllers/IngameController.scala index ec941a4..c01083c 100644 --- a/knockoutwhistweb/app/controllers/IngameController.scala +++ b/knockoutwhistweb/app/controllers/IngameController.scala @@ -82,7 +82,8 @@ class IngameController @Inject() ( if (result.isSuccess) { Ok(Json.obj( "status" -> "success", - "redirectUrl" -> routes.IngameController.game(gameId).url + "redirectUrl" -> routes.IngameController.game(gameId).url, + "content" -> returnInnerHTML(game.get, request.user).toString() )) } else { val throwable = result.failed.get