Skip to content

Commit 61d8b41

Browse files
committed
chore(community): Service 수정
1 parent d0e0190 commit 61d8b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/somemore/community/service/command/CreateCommunityBoardService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class CreateCommunityBoardService implements CreateCommunityBoardUseCase
2020
@Override
2121
public Long createCommunityBoard(CommunityBoardCreateRequestDto requestDto, UUID writerId, String imgUrl) {
2222

23-
CommunityBoard communityBoard = requestDto.toEntity(writerId, imgUrl != null ? imgUrl : "");
23+
CommunityBoard communityBoard = requestDto.toEntity(writerId, imgUrl == null ? "" : imgUrl);
2424

2525
communityBoardRepository.save(communityBoard);
2626

0 commit comments

Comments
 (0)