diff --git a/web3-credential-server/src/main/java/web3/s3Storage/service/S3StorageService.java b/web3-credential-server/src/main/java/web3/s3Storage/service/S3StorageService.java index f1e8491..7f35a7e 100644 --- a/web3-credential-server/src/main/java/web3/s3Storage/service/S3StorageService.java +++ b/web3-credential-server/src/main/java/web3/s3Storage/service/S3StorageService.java @@ -341,17 +341,6 @@ public ResponseInputStream getPdf(String pdfUrl) { .build(); return s3Client.getObject(getObjectRequest); } - - public String getPageByKey(HashMap metadata, String key) { - return metadata.get(key); - } - - - - private String generateFileName(String originalFileName) { - return UUID.randomUUID().toString() + "-" + originalFileName; - } - private String extractKeyFromUrl(String url) { // Assuming the URL is in the format: https://s3.ap-northeast-2.amazonaws.com/bucketName/fileName int index = url.lastIndexOf('/');