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();