diff --git a/src/main/java/fairytale/tbd/domain/faceSwap/service/PhotoUploadServiceImpl.java b/src/main/java/fairytale/tbd/domain/faceSwap/service/PhotoUploadServiceImpl.java index 89a3c69..dcb2d8d 100644 --- a/src/main/java/fairytale/tbd/domain/faceSwap/service/PhotoUploadServiceImpl.java +++ b/src/main/java/fairytale/tbd/domain/faceSwap/service/PhotoUploadServiceImpl.java @@ -3,6 +3,7 @@ import fairytale.tbd.domain.faceSwap.entity.Uuid; import fairytale.tbd.domain.faceSwap.repository.UuidRepository; import fairytale.tbd.domain.faceSwap.web.dto.FaceDetectRequestDto; +import fairytale.tbd.domain.user.entity.User; import fairytale.tbd.global.aws.s3.AmazonS3Manager; import org.springframework.transaction.annotation.Transactional; import lombok.RequiredArgsConstructor; @@ -24,7 +25,7 @@ public class PhotoUploadServiceImpl implements PhotoUploadService { @Override @Transactional - public FaceDetectRequestDto savePhotos(MultipartFile file) throws IOException { + public FaceDetectRequestDto savePhotos(User userId, MultipartFile file) throws IOException { String imgURL = ""; String uuid = UUID.randomUUID().toString(); @@ -42,4 +43,4 @@ public FaceDetectRequestDto savePhotos(MultipartFile file) throws IOException { return faceDetectRequestDto; } -} +} \ No newline at end of file