Skip to content

Commit

Permalink
HOTFIX : MainView Response Field 이름 변경 및 isAllConfirm 의미에 맞는 연산으로 수정 (
Browse files Browse the repository at this point in the history
  • Loading branch information
yummygyudon authored Oct 15, 2023
2 parents 87cc0b9 + 88ddc3f commit b736b73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ public Boolean getNotificationMainViewStatus(User user) {
val unreadNotificationList = notificationList.stream()
.filter(notification -> !notification.getIsRead())
.collect(Collectors.toList());
return unreadNotificationList.size() > 0;
return unreadNotificationList.size() == 0;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static class MainView {
@Schema(description = "유저 운영 서비스 정보", example = "")
private Operation operation;
@Schema(description = "알림 전체 읽음 여부", example = "false")
private Boolean exists;
private Boolean isAllConfirm;

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public interface UserResponseMapper {
UserResponse.AppUser ofAppUser(User user);

UserResponse.MainView ofMainView(PlaygroundAuthInfo.MainView user, OperationInfo.MainView operation,
Boolean exists);
Boolean isAllConfirm);

UserResponse.Nickname of(UserInfo.Nickname nickname);

Expand Down

0 comments on commit b736b73

Please sign in to comment.