Skip to content

Commit

Permalink
Merge pull request #31 from catchroom/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
sungjiwoon authored Jan 19, 2024
2 parents 588fb18 + 1dd652b commit 7187f4e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public class ChatController {
* websocket "/pub/chat/message"๋กœ ๋“ค์–ด์˜ค๋Š” ๋ฉ”์‹œ์ง•์„ ์ฒ˜๋ฆฌํ•œ๋‹ค.
*/
@MessageMapping("/chat/message")
public void message(ChatMessageDto message,
@RequestHeader("Authorization") String accessToken
public void message(@RequestHeader("Authorization") String accessToken,
ChatMessageDto message
) {
log.error("ChatController Token {}", accessToken);
ChatMessageDto chatMessageDto = chatMongoService.save(message);
Expand Down

0 comments on commit 7187f4e

Please sign in to comment.