From 473a8f4f1692455e455a313970db0a5a3dedcd9a Mon Sep 17 00:00:00 2001 From: Marc Gorzala Date: Sun, 14 Jan 2024 17:28:44 +0100 Subject: [PATCH] debug --- src/main/java/net/dancier/dancer/chat/DancerController.java | 3 +-- src/main/java/net/dancier/dancer/contact/ContactService.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/dancier/dancer/chat/DancerController.java b/src/main/java/net/dancier/dancer/chat/DancerController.java index e32c6a2..9d673c1 100644 --- a/src/main/java/net/dancier/dancer/chat/DancerController.java +++ b/src/main/java/net/dancier/dancer/chat/DancerController.java @@ -3,7 +3,6 @@ import lombok.RequiredArgsConstructor; import net.dancier.dancer.chat.dto.DancerDto; import net.dancier.dancer.chat.dto.DancerIdsDto; -import net.dancier.dancer.contact.ContactController; import net.dancier.dancer.core.DancerService; import net.dancier.dancer.security.AuthenticatedUser; import net.dancier.dancer.security.CurrentUser; @@ -22,7 +21,7 @@ @RequestMapping("/dancers") @RequiredArgsConstructor public class DancerController { - private final static Logger log = LoggerFactory.getLogger(ContactController.class); + private final static Logger log = LoggerFactory.getLogger(DancerController.class); private final DancerService dancerService; diff --git a/src/main/java/net/dancier/dancer/contact/ContactService.java b/src/main/java/net/dancier/dancer/contact/ContactService.java index 951b94e..ac3097b 100644 --- a/src/main/java/net/dancier/dancer/contact/ContactService.java +++ b/src/main/java/net/dancier/dancer/contact/ContactService.java @@ -46,7 +46,7 @@ void send(ContactDto contactDto, AuthenticatedUser authenticatedUserOfSender) { "Mail über das Kontakt formular", MailCreationService.CONTACT_FORMULAR, Map.of( - "sender", contactDto.getSender(), + "sender", senderMailAddress, "message", contactDto.getMessage()) );