diff --git a/src/main/java/com/umc/naoman/domain/photo/service/PhotoServiceImpl.java b/src/main/java/com/umc/naoman/domain/photo/service/PhotoServiceImpl.java index 4fbb847..e5eb3e1 100644 --- a/src/main/java/com/umc/naoman/domain/photo/service/PhotoServiceImpl.java +++ b/src/main/java/com/umc/naoman/domain/photo/service/PhotoServiceImpl.java @@ -126,7 +126,7 @@ public SamplePhotoUploadInfo uploadSamplePhotoList(UploadSamplePhotoRequest requ .toList(); List samplePhotoNameList = samplePhotoList.stream() - .map(samplePhoto -> samplePhoto.getName()) + .map(SamplePhoto::getName) .toList(); // Elasticsearch에 sample_face_vector를 저장하기 위한 트리거 실행