Skip to content

Commit

Permalink
Merge pull request #44 from Central-MakeUs/40-필터를-소개한다
Browse files Browse the repository at this point in the history
Fix(#40): 필터 소개 API 응답 수정
  • Loading branch information
tmddus2 authored Aug 11, 2024
2 parents 1e543e9 + 75bd29f commit d183d45
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public class FilterDescriptionDto {
@Schema(description = "작가 이름")
String name;

@Schema(description = "작가 프로필")
String profile;

@Schema(description = "필터 소개")
String description;

Expand All @@ -35,6 +38,7 @@ public static FilterDescriptionDto of(Filter filter) {

return FilterDescriptionDto.builder()
.photographerId(photographer.getId())
.profile(photographer.getProfile())
.name(photographer.getUsername())
.description(filter.getDescription())
.photoDescriptions(PhotoDescription.of(filter.getFilterDetails()))
Expand Down

0 comments on commit d183d45

Please sign in to comment.