Chore: 컨벤션 맞추기

This commit is contained in:
김용수 2024-09-14 12:32:52 +09:00
parent 88efc3ee37
commit 6104b5a59d

View File

@ -58,7 +58,9 @@ public class LabelService {
log.debug("{}번 프로젝트 이미지 {} 진행 ", projectId, projectType); log.debug("{}번 프로젝트 이미지 {} 진행 ", projectId, projectType);
List<Image> imageList = imageRepository.findImagesByProjectId(projectId); List<Image> imageList = imageRepository.findImagesByProjectId(projectId);
List<AutoLabelingImageRequest> imageRequestList = imageList.stream().map(AutoLabelingImageRequest::of).toList(); List<AutoLabelingImageRequest> imageRequestList = imageList.stream()
.map(AutoLabelingImageRequest::of)
.toList();
AutoLabelingRequest autoLabelingRequest = AutoLabelingRequest.of(projectId, imageRequestList); AutoLabelingRequest autoLabelingRequest = AutoLabelingRequest.of(projectId, imageRequestList);
sendRequestToApi(autoLabelingRequest, projectType.getValue(), projectId); sendRequestToApi(autoLabelingRequest, projectType.getValue(), projectId);
} }