From 2398c9ba918b0372a585237f1953c7b54fbf3bae Mon Sep 17 00:00:00 2001 From: Mingyu Song <100754581+mikekks@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:25:17 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B2=80=EC=A6=9D=20=EB=A1=9C=EC=A7=81?= =?UTF-8?q?=20=EC=9D=BC=EB=B6=80=20=EC=88=98=EC=A0=95=20(#496)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../crew/main/meeting/v2/service/MeetingV2ServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/org/sopt/makers/crew/main/meeting/v2/service/MeetingV2ServiceImpl.java b/main/src/main/java/org/sopt/makers/crew/main/meeting/v2/service/MeetingV2ServiceImpl.java index 244790cc..76a6ee56 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/meeting/v2/service/MeetingV2ServiceImpl.java +++ b/main/src/main/java/org/sopt/makers/crew/main/meeting/v2/service/MeetingV2ServiceImpl.java @@ -543,7 +543,7 @@ private void validateApplyPeriod(Meeting meeting) { } private void validateUserActivities(User user) { - if (user.getActivities().isEmpty()) { + if (user.getActivities() == null || user.getActivities().isEmpty()) { throw new BadRequestException(MISSING_GENERATION_PART.getErrorCode()); } }