diff --git a/algofi-core/src/main/java/gooroommoon/algofi_core/game/session/GameSessionService.java b/algofi-core/src/main/java/gooroommoon/algofi_core/game/session/GameSessionService.java index 0277a12..eac48cd 100644 --- a/algofi-core/src/main/java/gooroommoon/algofi_core/game/session/GameSessionService.java +++ b/algofi-core/src/main/java/gooroommoon/algofi_core/game/session/GameSessionService.java @@ -169,7 +169,7 @@ public void submitCode(String playerId, GameCodeRequest request) { .toEntity(SubmitResultResponse.class) .subscribe(response -> { String message = response.getBody().getMessage(); - messagingTemplate.convertAndSendToUser(playerId, "/queue/game/result", message); + messagingTemplate.convertAndSendToUser(playerId, "/queue/game/result", new SubmitResultResponse(message)); if(message.equals("맞았습니다.")) { closeGame(session, playerId); } else {