Skip to content

Commit

Permalink
Update WatermarkController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Frooodle authored Feb 6, 2023
1 parent cab3fe1 commit c9cb195
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public String addWatermarkForm(Model model) {
}

@PostMapping("/add-watermark")
public ResponseEntity<byte[]> addWatermark(@RequestParam("pdfFile") MultipartFile pdfFile,
public ResponseEntity<byte[]> addWatermark(@RequestParam("fileInput") MultipartFile pdfFile,
@RequestParam("watermarkText") String watermarkText,
@RequestParam(defaultValue = "30", name = "fontSize") float fontSize,
@RequestParam(defaultValue = "0", name = "rotation") float rotation,
Expand Down

0 comments on commit c9cb195

Please sign in to comment.