Skip to content

Commit 8bdaaff

Browse files
committed
refactor(community): findById 네이밍 변경 사항 반영
1 parent 7013ef9 commit 8bdaaff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DeleteCommunityBoardService implements DeleteCommunityBoardUseCase {
2222

2323
@Override
2424
public void deleteCommunityBoard(UUID writerId, Long id) {
25-
CommunityBoard communityBoard = communityBoardRepository.getCommunityBoardWithId(id)
25+
CommunityBoard communityBoard = communityBoardRepository.findById(id)
2626
.orElseThrow(() -> new BadRequestException(NOT_EXISTS_COMMUNITY_BOARD.getMessage()));
2727

2828
validateWriter(communityBoard, writerId);

0 commit comments

Comments
 (0)