1

fix queries and user_id type

This commit is contained in:
killerber4t
2020-03-12 14:59:34 +01:00
parent 8c0975def3
commit a688235100
3 changed files with 13 additions and 4 deletions

View File

@ -19,7 +19,7 @@ public class UserService {
this.groupService = groupService;
}
public List<Group> getUserGroups(Long user_id) throws EventException {
public List<Group> getUserGroups(String user_id) throws EventException {
List<Long> group_ids = eventRepository.findGroup_idsWhereUser_id(user_id);
List<Event> events = groupService.getGroupEvents(group_ids);
return groupService.projectEventList(events);