Skip to content

Commit

Permalink
refactor : 알림 설정 수정 request all -> allNotification 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
rladmstn committed Dec 10, 2024
1 parent 7367c85 commit 6a3bd37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import jakarta.validation.constraints.NotNull;

public record EditNotificationSettingRequest(@NotNull(message = "그룹 아이디는 필수 입력입니다.") Long groupId,
boolean all,
boolean allNotifications,
boolean newProblem,
boolean newSolution,
boolean newComment,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void editNotificationSettings(User user, EditNotificationSettingRequest r
NotificationSetting setting = notificationSettingRepository.findByMember(member)
.orElseThrow(() -> new CannotFoundNotificationSettingException("알림 설정 정보를 가져올 수 없습니다."));

setting.editSettings(request.all(),
setting.editSettings(request.allNotifications(),
request.newProblem(),
request.newComment(),
request.newMember(),
Expand Down

0 comments on commit 6a3bd37

Please sign in to comment.