Skip to content

Commit

Permalink
chore: portfolioDetailDto 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
daeun084 committed Feb 17, 2024
1 parent da4b4e6 commit 31ddeae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}

// 포트폴리오 수정/삭제
Expand Down

0 comments on commit 31ddeae

Please sign in to comment.