diff --git a/src/main/java/net/dancier/dancer/chat/ChatService.java b/src/main/java/net/dancier/dancer/chat/ChatService.java index bf1d623..abde414 100644 --- a/src/main/java/net/dancier/dancer/chat/ChatService.java +++ b/src/main/java/net/dancier/dancer/chat/ChatService.java @@ -66,6 +66,8 @@ public Void createMessage(UUID chatId, UUID dancerId, CreateMessageDto createMes private void throwIfDancerIsNotInChat(List participantIds, UUID currentDancerId) { log.info("Before Check"); + log.info("Part: " + participantIds); + log.info("Current: " + currentDancerId); if (!participantIds.contains(currentDancerId)) { throw new BusinessException("Current dancer must be part of the chat"); }