From 5729200778b7446e91cfacafc360367290454f8f Mon Sep 17 00:00:00 2001 From: "Felix T.J. Dietrich" Date: Thu, 5 Dec 2024 15:00:55 +0100 Subject: [PATCH] fix naming --- .../tum/in/www1/hephaestus/mentor/message/MessageService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/mentor/message/MessageService.java b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/mentor/message/MessageService.java index 77e38614..8799f976 100644 --- a/server/application-server/src/main/java/de/tum/in/www1/hephaestus/mentor/message/MessageService.java +++ b/server/application-server/src/main/java/de/tum/in/www1/hephaestus/mentor/message/MessageService.java @@ -75,8 +75,8 @@ public MessageDTO sendMessage(String content, Long sessionId) { } - private String generateResponse(Long session_id, String messageContent) { - List messages = messageRepository.findBySessionId(session_id); + private String generateResponse(Long sessionId, String messageContent) { + List messages = messageRepository.findBySessionId(sessionId); ChatRequest chatRequest = new ChatRequest(); chatRequest.setMessageHistory(messages.stream()