diff --git a/be/src/main/java/yeonba/be/mypage/service/MyPageService.java b/be/src/main/java/yeonba/be/mypage/service/MyPageService.java index 52f2db84..6149d5a6 100644 --- a/be/src/main/java/yeonba/be/mypage/service/MyPageService.java +++ b/be/src/main/java/yeonba/be/mypage/service/MyPageService.java @@ -277,13 +277,12 @@ public NotificationPermissionsResponse getNotificationPermissions(long userId) { notificationPermissionQuery.findAllByUser(user); // 알림 타입별 동의 내역 Map 형성 - Map typePermissionStatusMap = - notificationPermissions.stream() - .collect(Collectors.toMap( - NotificationPermission::getType, - NotificationPermission::getPermissionStatus, - (existing, replacement) -> existing - )); + Map typePermissionStatusMap = notificationPermissions.stream() + .collect(Collectors.toMap( + NotificationPermission::getType, + NotificationPermission::getPermissionStatus, + (existing, replacement) -> existing + )); // 회원 가입시 알림 전부 동의 처리, 기본 동의한 것으로 간주하여 응답 제공 return new NotificationPermissionsResponse(