From 8043d89a317c3883f647e4ba9f65b5d07986c48a Mon Sep 17 00:00:00 2001 From: WonyuChoi Date: Fri, 2 Aug 2024 14:02:18 +0900 Subject: [PATCH] =?UTF-8?q?FLASH-238=20fix:=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EB=8B=A8=EA=B1=B4=20=EC=A1=B0=ED=9A=8C=EC=97=90=20=ED=81=B4?= =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B0=8D=EC=9E=A5=20=EC=9D=B4=EB=A6=84=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../problem/application/dto/ProblemDetailResponseDto.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/first/flash/climbing/problem/application/dto/ProblemDetailResponseDto.java b/src/main/java/com/first/flash/climbing/problem/application/dto/ProblemDetailResponseDto.java index ddb70cdc..70f4bf66 100644 --- a/src/main/java/com/first/flash/climbing/problem/application/dto/ProblemDetailResponseDto.java +++ b/src/main/java/com/first/flash/climbing/problem/application/dto/ProblemDetailResponseDto.java @@ -7,12 +7,12 @@ public record ProblemDetailResponseDto(UUID id, String sector, String difficulty, LocalDate settingDate, LocalDate removalDate, boolean isFakeRemovalDate, boolean hasSolution, - String imageUrl) { + String imageUrl, String gymName) { public static ProblemDetailResponseDto of(final QueryProblem queryProblem) { return new ProblemDetailResponseDto(queryProblem.getId(), queryProblem.getSectorName(), queryProblem.getDifficultyName(), queryProblem.getSettingDate(), queryProblem.getRemovalDate(), queryProblem.getIsFakeRemovalDate(), - queryProblem.getHasSolution(), queryProblem.getImageUrl()); + queryProblem.getHasSolution(), queryProblem.getImageUrl(), queryProblem.getGymName()); } }