From a5dca0ff6d1cd57d337c502b6c0ed1446325766d Mon Sep 17 00:00:00 2001 From: yeseong0412 Date: Tue, 26 Nov 2024 08:38:47 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20::=20=EC=9D=B4=EB=AA=A8=EC=A7=80=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20=ED=95=A8=EC=88=98=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 기존 삭제 Controller 에 add 함수가 있던걸 delete 함수로 정상적 작동 되도록 변경함 --- .../chat/presentation/message/controller/MessageController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/seugi/api/domain/chat/presentation/message/controller/MessageController.kt b/src/main/kotlin/com/seugi/api/domain/chat/presentation/message/controller/MessageController.kt index 6c979deab..7e7dea7fc 100644 --- a/src/main/kotlin/com/seugi/api/domain/chat/presentation/message/controller/MessageController.kt +++ b/src/main/kotlin/com/seugi/api/domain/chat/presentation/message/controller/MessageController.kt @@ -35,7 +35,7 @@ class MessageController( @RequestBody emoji: AddEmoji, @GetAuthenticatedId userId: Long ): BaseResponse { - return messageService.addEmojiToMessage( + return messageService.deleteEmojiToMessage( userId = userId, emoji = emoji )