From c9cb1959b301c5b1eafac8a3e0303445aec5d240 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Mon, 6 Feb 2023 10:52:11 +0000 Subject: [PATCH] Update WatermarkController.java --- .../software/SPDF/controller/security/WatermarkController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/stirling/software/SPDF/controller/security/WatermarkController.java b/src/main/java/stirling/software/SPDF/controller/security/WatermarkController.java index ba42a1d7..6fd2c8cb 100644 --- a/src/main/java/stirling/software/SPDF/controller/security/WatermarkController.java +++ b/src/main/java/stirling/software/SPDF/controller/security/WatermarkController.java @@ -34,7 +34,7 @@ public class WatermarkController { } @PostMapping("/add-watermark") - public ResponseEntity addWatermark(@RequestParam("pdfFile") MultipartFile pdfFile, + public ResponseEntity addWatermark(@RequestParam("fileInput") MultipartFile pdfFile, @RequestParam("watermarkText") String watermarkText, @RequestParam(defaultValue = "30", name = "fontSize") float fontSize, @RequestParam(defaultValue = "0", name = "rotation") float rotation,