Skip to content

Commit

Permalink
fix(FolderService): 폴더 이름 수정 시, 폴더 이름 검증 로직 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Chan531 committed Dec 2, 2024
1 parent 79e5429 commit 4ecc190
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void updateFolderName(final long memberId, final long teamId,
memberTeamManagerFinder.findByMemberIdAndTeamIdOrElseThrow(memberId, teamId);
Folder folder = folderFinder.findById(folderId);
folder.validateTeamId(teamId);
validateFolderName(teamId, folder.getPath(), request.name());
folder.updateName(request.name());
}

Expand Down

0 comments on commit 4ecc190

Please sign in to comment.