Skip to content

Commit

Permalink
hotfix: 리스트 상세 조회 응답 필드 네이밍 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkdhoho committed Feb 13, 2024
1 parent 7b31844 commit d7b53c0
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public static LabelResponse of(Label label) {

@Builder
record CollaboratorResponse(
Long userId,
String userNickname,
String userProfileImageUrl
Long id,
String nickname,
String profileImageUrl
) {

public static List<CollaboratorResponse> toList(List<Collaborator> collaborators) {
Expand All @@ -81,9 +81,9 @@ public static List<CollaboratorResponse> toList(List<Collaborator> collaborators

public static CollaboratorResponse of(Collaborator collaborator) {
return CollaboratorResponse.builder()
.userId(collaborator.getId())
.userNickname(collaborator.getUserNickname())
.userProfileImageUrl(collaborator.getUserProfileImageUrl())
.id(collaborator.getId())
.nickname(collaborator.getUserNickname())
.profileImageUrl(collaborator.getUserProfileImageUrl())
.build();
}
}
Expand Down

0 comments on commit d7b53c0

Please sign in to comment.