Skip to content

Commit

Permalink
✨ FEAT. savePhotos 메서드 매개변수 user 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ghvfgfcht committed May 3, 2024
1 parent 30ca62a commit ae75f31
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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();

Expand All @@ -42,4 +43,4 @@ public FaceDetectRequestDto savePhotos(MultipartFile file) throws IOException {
return faceDetectRequestDto;
}

}
}

0 comments on commit ae75f31

Please sign in to comment.