diff --git a/src/main/java/com/mookive/mookive_backend/movie/application/dto/response/MovieResponse.java b/src/main/java/com/mookive/mookive_backend/movie/application/dto/response/MovieResponse.java index fcc091b..f87bb83 100644 --- a/src/main/java/com/mookive/mookive_backend/movie/application/dto/response/MovieResponse.java +++ b/src/main/java/com/mookive/mookive_backend/movie/application/dto/response/MovieResponse.java @@ -47,6 +47,7 @@ public MovieTitleResponse(String title) { @Getter @NoArgsConstructor public static class MovieTitleSearchResponse { + private String tmdbId; private String title; private String director; private String year; @@ -54,7 +55,8 @@ public static class MovieTitleSearchResponse { private String nation; @Builder - public MovieTitleSearchResponse(String title, String director, String year, String poster, String nation) { + public MovieTitleSearchResponse(String tmdbId, String title, String director, String year, String poster, String nation) { + this.tmdbId = tmdbId; this.title = title; this.director = director; this.year = year; diff --git a/src/main/java/com/mookive/mookive_backend/movie/application/service/MovieSearchService.java b/src/main/java/com/mookive/mookive_backend/movie/application/service/MovieSearchService.java index ea7ebd1..547440e 100644 --- a/src/main/java/com/mookive/mookive_backend/movie/application/service/MovieSearchService.java +++ b/src/main/java/com/mookive/mookive_backend/movie/application/service/MovieSearchService.java @@ -59,6 +59,7 @@ public List getMovieTitleSearchResult(St if(j