diff --git a/src/main/java/com/moddy/server/controller/designer/dto/response/ApplicationInfoResponse.java b/src/main/java/com/moddy/server/controller/designer/dto/response/ApplicationInfoResponse.java index 95400517..bda471bc 100644 --- a/src/main/java/com/moddy/server/controller/designer/dto/response/ApplicationInfoResponse.java +++ b/src/main/java/com/moddy/server/controller/designer/dto/response/ApplicationInfoResponse.java @@ -8,7 +8,7 @@ public record ApplicationInfoResponse( Long applicationId, String modelImgUrl, - HairLength hairLength, + String hairLength, List preferHairstyles, List hairServiceRecords, String hairDetail, diff --git a/src/main/java/com/moddy/server/service/designer/DesignerService.java b/src/main/java/com/moddy/server/service/designer/DesignerService.java index 8ac55f27..b348f7fc 100644 --- a/src/main/java/com/moddy/server/service/designer/DesignerService.java +++ b/src/main/java/com/moddy/server/service/designer/DesignerService.java @@ -224,7 +224,7 @@ public ApplicationDetailInfoResponse getApplicationDetail(Long userId, Long appl ApplicationInfoResponse applicationInfoResponse = new ApplicationInfoResponse( applicationId, hairModelApplication.getModelImgUrl(), - hairModelApplication.getHairLength(), + hairModelApplication.getHairLength().getValue(), preferhairStyleList, recordResponseList, hairModelApplication.getHairDetail(),