QA
All checks were successful
Quality Check / Tests (pull_request) Successful in 1m10s
Build PR / Build and analyze (pull_request) Successful in 1m48s
Quality Check / Checkstyle Main (pull_request) Successful in 36s
gitea-sonarqube-bot OK

This commit is contained in:
Phan Huy Tran 2024-10-23 12:48:22 +02:00
parent fe75c845db
commit 02d9fda6b7

@ -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<GetProjectDto> getProjects(Long employeeId) {
public List<GetProjectDto> getProjects(Long employeeId) {
ArrayList<ProjectEntity> projects = this.projectRepository.findAllByEmployeeId(employeeId);
ArrayList<GetProjectDto> projectDtos = new ArrayList<>();