Skip to content

Commit

Permalink
[FIX] UniversityExamRecordSheetService 내 getUniversityExamRecordSheet…
Browse files Browse the repository at this point in the history
…PreSignedUrl()에서 사용 서비스 및 메서드 수정
  • Loading branch information
sung-silver committed Jan 18, 2024
1 parent e5ca7db commit c3c787c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import static com.nonsoolmate.nonsoolmateServer.external.aws.FolderName.EXAM_SHEET_FOLDER_NAME;

import com.nonsoolmate.nonsoolmateServer.external.aws.service.S3Service;
import com.nonsoolmate.nonsoolmateServer.external.aws.service.CloudFrontService;
import com.nonsoolmate.nonsoolmateServer.external.aws.service.vo.PreSignedUrlVO;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
Expand All @@ -12,10 +12,10 @@
@Transactional(readOnly = true)
@RequiredArgsConstructor
public class UniversityExamRecordSheetService {
private final S3Service s3Service;
private final CloudFrontService cloudFrontService;

public PreSignedUrlVO getUniversityExamRecordSheetPreSignedUrl() {
return s3Service.getUploadPreSignedUrl(EXAM_SHEET_FOLDER_NAME);
return cloudFrontService.createPreSignedPutUrl(EXAM_SHEET_FOLDER_NAME);
}

}

0 comments on commit c3c787c

Please sign in to comment.