From 0101e6894123ef6dcf82c88e8790bc2a7fd7e1e3 Mon Sep 17 00:00:00 2001 From: kkang_h00n Date: Wed, 16 Jul 2025 12:28:21 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EC=98=A4=EB=8A=98=EC=9D=98=20=EA=B8=B0?= =?UTF-8?q?=EB=A1=9D=20=EC=9E=91=EC=84=B1=20=EC=8B=9C,=20ENUM=20=EB=B3=80?= =?UTF-8?q?=ED=99=98=20=EB=A1=9C=EC=A7=81=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../greening/petPlant/service/DailyRecordCommandService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/swyp/team5/greening/petPlant/service/DailyRecordCommandService.java b/src/main/java/swyp/team5/greening/petPlant/service/DailyRecordCommandService.java index c638cfb..4bd294a 100644 --- a/src/main/java/swyp/team5/greening/petPlant/service/DailyRecordCommandService.java +++ b/src/main/java/swyp/team5/greening/petPlant/service/DailyRecordCommandService.java @@ -75,7 +75,7 @@ public CreateDailyRecordResponseDto createDailyRecord( List contents = requestDto.content().stream() .map(dto -> DailyRecordContent.builder() .content(dto.value()) - .type(DailyRecordContentType.valueOf(dto.type())) + .type(DailyRecordContentType.valueOf(dto.type().toUpperCase())) .build()) .toList();