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 dd69092..b26f49e 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 @@ -189,7 +189,7 @@ public String replacePdfPage(Wallet wallet, int pageNumberToRemove, MultipartFil // PDF 합치기 byte[] finalPdfBytes = mergeThreePdfs(frontPart, newPdfBytes, backPart); - HashMap metadata = getPdfMetadata(fileName); + HashMap metadata = decodeMetadata(getPdfMetadata(fileName)); // 최종 PDF를 S3에 업로드 uploadToS3(fileName, metadata, finalPdfBytes);