fix(api): Fixed a bug where the game would reload on game start (#81)
Reviewed-on: #81 Co-authored-by: Janis <janis.e.20@gmx.de> Co-committed-by: Janis <janis.e.20@gmx.de>
This commit is contained in:
Submodule knockoutwhist updated: e4322839d1...ec94ecd46c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user