From 8578b821c3c1937a0c957cf196953e46ec362ffc Mon Sep 17 00:00:00 2001 From: hyerinhwang-sailin Date: Thu, 28 Nov 2024 18:58:20 +0900 Subject: [PATCH] =?UTF-8?q?[#261]=20chore(modifyPerformance):=20conflict?= =?UTF-8?q?=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/PerformanceModifyService.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/com/beat/domain/performance/application/PerformanceModifyService.java b/src/main/java/com/beat/domain/performance/application/PerformanceModifyService.java index bac6563c..b1aac97a 100644 --- a/src/main/java/com/beat/domain/performance/application/PerformanceModifyService.java +++ b/src/main/java/com/beat/domain/performance/application/PerformanceModifyService.java @@ -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);