Skip to content

Commit

Permalink
[BE] fix: ArtistBookmarkInfoV1Response에 아티스트 식별자 추가 (#869) (#872)
Browse files Browse the repository at this point in the history
* fix: 누락된 아티스트 식별자 추가

* chore: memberid -> memberId 수정
  • Loading branch information
seokjin8678 authored Apr 17, 2024
1 parent b15770a commit 5d16cda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ArtistBookmarkV1QueryService {

private final ArtistBookmarkV1QueryDslRepository artistBookmarkV1QueryDslRepository;

public List<ArtistBookmarkV1Response> findArtistBookmarksByMemberId(Long memberid){
return artistBookmarkV1QueryDslRepository.findByMemberId(memberid);
public List<ArtistBookmarkV1Response> findArtistBookmarksByMemberId(Long memberId){
return artistBookmarkV1QueryDslRepository.findByMemberId(memberId);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.querydsl.core.annotations.QueryProjection;

public record ArtistBookmarkInfoV1Response(
Long id,
String name,
String profileImageUrl
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public List<ArtistBookmarkV1Response> findByMemberId(Long memberId) {
return select(
new QArtistBookmarkV1Response(
new QArtistBookmarkInfoV1Response(
artist.id,
artist.name,
artist.profileImage
),
Expand Down

0 comments on commit 5d16cda

Please sign in to comment.