Skip to content

Commit

Permalink
Merge pull request #85 from gooormmoon/patch/sshniylee
Browse files Browse the repository at this point in the history
fix: Edit response
  • Loading branch information
Berygna authored Jun 24, 2024
2 parents 648b290 + e123df3 commit 9f9ea12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9f9ea12

Please sign in to comment.