Skip to content

Commit

Permalink
fix: 공유 권한 수정 시 illegalArgumentException 제거
Browse files Browse the repository at this point in the history
- 폴더 이동시 none으로 수정될 수 있으므로 제거
  • Loading branch information
i960107 committed Aug 27, 2024
1 parent 2deb786 commit ec070d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@ public void updateParentFolderId(Long parentFolderId) {
}

public void updateShareStatus(PermissionType permissionType, LocalDateTime sharingExpiredAt) {
if (permissionType == null || permissionType.equals(PermissionType.NONE)) {
throw new IllegalArgumentException("잘못된 공유 권한 수정 입니다.");
}
this.permissionType = permissionType;
this.sharingExpiredAt = sharingExpiredAt;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ public void updateParentFolderId(Long parentFolderId) {
}

public void updateShareStatus(PermissionType permissionType, LocalDateTime sharingExpiredAt) {
if (permissionType == null || permissionType.equals(PermissionType.NONE)) {
throw new IllegalArgumentException("잘못된 공유 권한 수정 입니다.");
}
this.permissionType = permissionType;
this.sharingExpiredAt = sharingExpiredAt;
}
Expand Down

0 comments on commit ec070d5

Please sign in to comment.