From 31ddeaea88e7427c635246cbd82cd7cb0c26ffff Mon Sep 17 00:00:00 2001 From: daeun084 <030804jk@naver.com> Date: Sat, 17 Feb 2024 20:02:25 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20portfolioDetailDto=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../umc/meme/shop/domain/artist/service/ArtistService.java | 1 - .../meme/shop/domain/portfolio/service/PortfolioService.java | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/umc/meme/shop/domain/artist/service/ArtistService.java b/src/main/java/umc/meme/shop/domain/artist/service/ArtistService.java index be928b8..3545921 100644 --- a/src/main/java/umc/meme/shop/domain/artist/service/ArtistService.java +++ b/src/main/java/umc/meme/shop/domain/artist/service/ArtistService.java @@ -3,7 +3,6 @@ import jakarta.transaction.Transactional; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; -import umc.meme.shop.domain.artist.dto.request.ArtistProfileDetailDto; import umc.meme.shop.domain.artist.dto.request.ArtistProfileDto; import umc.meme.shop.domain.artist.dto.response.ArtistDto; import umc.meme.shop.domain.artist.entity.Artist; diff --git a/src/main/java/umc/meme/shop/domain/portfolio/service/PortfolioService.java b/src/main/java/umc/meme/shop/domain/portfolio/service/PortfolioService.java index 4e41a4d..6cc75a9 100644 --- a/src/main/java/umc/meme/shop/domain/portfolio/service/PortfolioService.java +++ b/src/main/java/umc/meme/shop/domain/portfolio/service/PortfolioService.java @@ -14,7 +14,6 @@ import umc.meme.shop.domain.model.entity.Model; import umc.meme.shop.domain.model.repository.ModelRepository; import umc.meme.shop.domain.portfolio.dto.request.CreatePortfolioDto; -import umc.meme.shop.domain.portfolio.dto.request.PortfolioDetailRequestDto; import umc.meme.shop.domain.portfolio.dto.request.UpdatePortfolioDto; import umc.meme.shop.domain.portfolio.dto.response.PortfolioDetailDto; import umc.meme.shop.domain.portfolio.dto.response.PortfolioImgDto; @@ -93,7 +92,7 @@ public PortfolioDetailDto getPortfolioDetails(Long userId, Long portfolioId) { if(favoritePortfolio.isPresent()) isFavorite = true; - return PortfolioDetailDto.from(portfolio, false); + return PortfolioDetailDto.from(portfolio, isFavorite); } // 포트폴리오 수정/삭제