Skip to content

Commit

Permalink
NABI-123--refactor : 카드 엔티티 생성자 검증 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-june committed Nov 8, 2023
1 parent 17d5baa commit 25259ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private Card(
Item item,
User user
) {
if (cardTitle.isBlank() || thumbNailImage.isBlank() || content.isBlank() || tradeArea.isBlank()) {
if (cardTitle.isBlank() || content.isBlank() || tradeArea.isBlank()) { // TODO: 구조 변경 후 thumbNailImage null 처리 추가
throw new BaseException(ErrorCode.UNKNOWN);
}

Expand Down

0 comments on commit 25259ca

Please sign in to comment.