Skip to content

Commit

Permalink
[#261] chore(modifyPerformance): conflict 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
hyerinhwang-sailin committed Nov 28, 2024
1 parent 6b18618 commit 8578b82
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,6 @@ public PerformanceModifyResponse modifyPerformance(Long memberId, PerformanceMod

Member member = validateMember(memberId);
Long userId = member.getUser().getId();

if (request.performanceDescription().length() > 1500) {
throw new BadRequestException(PerformanceErrorCode.INVALID_PERFORMANCE_DESCRIPTION_LENGTH);
}

if (request.performanceAttentionNote().length() > 1500) {
throw new BadRequestException(PerformanceErrorCode.INVALID_ATTENTION_NOTE_LENGTH);
}

Performance performance = findPerformance(request.performanceId());

validateOwnership(userId, performance);
Expand Down

0 comments on commit 8578b82

Please sign in to comment.