Skip to content

Commit

Permalink
Merge branch 'dev' into feat/#863
Browse files Browse the repository at this point in the history
  • Loading branch information
seokjin8678 authored Apr 18, 2024
2 parents 81ec948 + 7a9ada4 commit 415228a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
implementation("org.springframework.boot:spring-boot-starter-mail")
implementation("org.springframework.boot:spring-boot-starter-cache")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:${swaggerVersion}")

// Spring Security
Expand Down Expand Up @@ -83,6 +84,9 @@ dependencies {

// Caffeine
implementation("com.github.ben-manes.caffeine:caffeine")

// Micrometer
runtimeOnly("io.micrometer:micrometer-registry-prometheus")
}

tasks.test {
Expand Down
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
2 changes: 1 addition & 1 deletion backend/src/main/resources/config

0 comments on commit 415228a

Please sign in to comment.