Skip to content

Commit

Permalink
fix: updated params
Browse files Browse the repository at this point in the history
  • Loading branch information
gianmarcoplutino committed Nov 22, 2024
1 parent 6cba4ff commit 84e393d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,16 +282,16 @@ private File createPdfFileContract(
return temporaryPdfFile.toFile();
}

private File createPdfFileAttachment(String contractTemplatePath, Onboarding onboarding)
private File createPdfFileAttachment(String attachmentTemplatePath, Onboarding onboarding)
throws IOException {
final String builder =
LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss"))
+ "_"
+ UUID.randomUUID()
+ "_contratto_interoperabilita.";
+ "_allegato_interoperabilita.";

// Read the content of the contract template file.
String contractTemplateText = azureBlobClient.getFileAsText(contractTemplatePath);
String contractTemplateText = azureBlobClient.getFileAsText(attachmentTemplatePath);
// Create a temporary PDF file to store the contract.
Path temporaryPdfFile = Files.createTempFile(builder, ".pdf");
// Prepare common data for the contract document.
Expand Down

0 comments on commit 84e393d

Please sign in to comment.