Skip to content

Commit

Permalink
πŸ› [Bug] Agenda Confirm μƒνƒœ νŒ€ 쑰회 μ•ˆλ˜λŠ” 버그 #1000 (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
AreSain authored Sep 4, 2024
1 parent c82ebca commit b8ae238
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 @@ -235,7 +235,7 @@ public void leaveTeam(AgendaTeam agendaTeam, AgendaTeamProfile agendaTeamProfile
public Page<AgendaTeam> findAgendaTeamWithStatus(UUID agendaKey, AgendaTeamStatus status, Pageable pageable) {
Agenda agenda = agendaRepository.findByAgendaKey(agendaKey)
.orElseThrow(() -> new NotExistException(AGENDA_NOT_FOUND));
return agendaTeamRepository.findByAgendaAndStatusAndIsPrivateFalse(agenda, status, pageable);
return agendaTeamRepository.findByAgendaAndStatus(agenda, status, pageable);
}

@Transactional(readOnly = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ Optional<AgendaTeam> findByAgendaAndTeamKeyAndStatus(Agenda agenda, UUID teamKey
List<AgendaTeam> findAllByAgendaAndStatus(Agenda agenda, AgendaTeamStatus status1, AgendaTeamStatus status2);

@Query("SELECT a FROM AgendaTeam a WHERE a.agenda = :agenda AND a.status = :status AND a.isPrivate = false")
Page<AgendaTeam> findByAgendaAndStatusAndIsPrivateFalse(Agenda agenda, AgendaTeamStatus status, Pageable pageable);
Page<AgendaTeam> findByAgendaAndStatus(Agenda agenda, AgendaTeamStatus status, Pageable pageable);
}

0 comments on commit b8ae238

Please sign in to comment.