diff --git a/src/main/java/com/example/RealMatch/brand/application/service/BrandService.java b/src/main/java/com/example/RealMatch/brand/application/service/BrandService.java index c1c8bc96..ce25326a 100644 --- a/src/main/java/com/example/RealMatch/brand/application/service/BrandService.java +++ b/src/main/java/com/example/RealMatch/brand/application/service/BrandService.java @@ -106,6 +106,7 @@ public BrandDetailResponseDto getBrandDetail(Long brandId, Long currentUserId) { BrandDetailResponseDto.BrandDetailResponseDtoBuilder responseBuilder = BrandDetailResponseDto.builder() .userId(currentUserId) .brandName(brand.getBrandName()) + .brandUserId(String.valueOf(brand.getUser().getId())) .brandImages(brandImages) .logoUrl(brand.getLogoUrl()) .simpleIntro(brand.getSimpleIntro()) diff --git a/src/main/java/com/example/RealMatch/brand/presentation/dto/response/BrandDetailResponseDto.java b/src/main/java/com/example/RealMatch/brand/presentation/dto/response/BrandDetailResponseDto.java index 997fc2aa..ccfa5a28 100644 --- a/src/main/java/com/example/RealMatch/brand/presentation/dto/response/BrandDetailResponseDto.java +++ b/src/main/java/com/example/RealMatch/brand/presentation/dto/response/BrandDetailResponseDto.java @@ -10,6 +10,7 @@ public class BrandDetailResponseDto { private Long userId; private String brandName; + private String brandUserId; private List brandImages; private String logoUrl; private String simpleIntro;