diff --git a/src/main/java/de/szut/lf8_starter/employee/EmployeeService.java b/src/main/java/de/szut/lf8_starter/employee/EmployeeService.java index 5008cd9..d126288 100644 --- a/src/main/java/de/szut/lf8_starter/employee/EmployeeService.java +++ b/src/main/java/de/szut/lf8_starter/employee/EmployeeService.java @@ -14,6 +14,7 @@ import org.springframework.web.client.HttpClientErrorException; import org.springframework.web.client.RestTemplate; import java.util.ArrayList; +import java.util.List; @Service public class EmployeeService { @@ -59,7 +60,7 @@ public class EmployeeService { } } - public ArrayList getProjects(Long employeeId) { + public List getProjects(Long employeeId) { ArrayList projects = this.projectRepository.findAllByEmployeeId(employeeId); ArrayList projectDtos = new ArrayList<>();