Feat: 이미지 폴더채로 업로드 구현 - S11P21S002-182
This commit is contained in:
parent
9831e3f140
commit
d176d934a5
@ -24,4 +24,8 @@ public enum ReviewStatus {
|
||||
public boolean isApproved() {
|
||||
return this == ReviewStatus.APPROVED;
|
||||
}
|
||||
|
||||
public boolean isRequested() {
|
||||
return this == ReviewStatus.REQUESTED;
|
||||
}
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ public class ReviewService {
|
||||
throw new CustomException(ErrorCode.PARTICIPANT_EDITOR_UNAUTHORIZED);
|
||||
}
|
||||
|
||||
if (reviewStatusRequest.getReviewStatus().isApproved()) {
|
||||
if (!reviewStatusRequest.getReviewStatus().isRequested()) {
|
||||
review.assignReviewer(member);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user