mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-11-16 01:21:16 +01:00
Update app/core/src/main/java/stirling/software/SPDF/controller/api/security/WatermarkController.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
7d0b8789d5
commit
56c88fba3b
@ -107,7 +107,7 @@ public class WatermarkController {
|
||||
throw new IllegalArgumentException(errorMsg);
|
||||
}
|
||||
|
||||
// Validate a color format when not using random color
|
||||
// Validate color format when not using random color
|
||||
String customColor = request.getCustomColor();
|
||||
Boolean randomColor = request.getRandomColor();
|
||||
if (customColor != null && !Boolean.TRUE.equals(randomColor)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user