1

fix visibility in controller

This commit is contained in:
killerber4t
2020-03-16 12:37:45 +01:00
parent 051b3c3724
commit e2978e10d0
3 changed files with 8 additions and 4 deletions

View File

@ -77,7 +77,7 @@ public class GroupService {
* @throws EventException
*/
public List<Group> getAllGroupWithVisibilityPublic() throws EventException {
return projectEventList(eventService.translateEventDTOs(eventRepository.findEventDTOByVisibility(Boolean.FALSE)));
return projectEventList(eventService.translateEventDTOs(eventRepository.findEventDTOByVisibility(Boolean.TRUE)));
}