Skip to content

Commit

Permalink
Merge pull request #209 from Board-Buddy/feature/#208
Browse files Browse the repository at this point in the history
Fix: 메세지 발행 및 전송 컨트롤러 메서드 수정
  • Loading branch information
runtime-zer0 authored Aug 3, 2024
2 parents 1ec3823 + b402998 commit 279063b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ public class ChatMessageController {
@MessageMapping("/{chatRoomId}")
public void publishMessage(
@DestinationVariable Long chatRoomId,
@Payload ChatMessageRequest.PublishDTO publishDTO
// @RequestAttribute String username
) {
@Payload ChatMessageRequest.PublishDTO publishDTO) {

chatMessageService.publishMessage(chatRoomId, publishDTO, "usernamekong");
chatMessageService.publishMessage(chatRoomId, publishDTO);
}

/**
Expand Down

0 comments on commit 279063b

Please sign in to comment.