Skip to content

Commit

Permalink
[SL-16 CHORE] imageUrl도 반환
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyoungpark00 committed Dec 29, 2023
1 parent cbcbb1a commit 6effd9c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ public record InterviewResponse(
Long generation,
String name,
String part,
String OneLineContent
String OneLineContent,
String imageUrl
) {

public static InterviewResponse of(Interview interview) {
Expand All @@ -20,7 +21,8 @@ public static InterviewResponse of(Interview interview) {
interview.getGeneration(),
interview.getName(),
interview.getPart(),
interview.getOneLineContent()
interview.getOneLineContent(),
interview.getImageUrl()
);
}
}

0 comments on commit 6effd9c

Please sign in to comment.