mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 22:29:24 +00:00
Update stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/security/CertSignController.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
9e119cc891
commit
a551b3e7b8
@ -166,7 +166,7 @@ public class CertSignController {
|
|||||||
Integer pageNumber = request.getPageNumber() != null ? (request.getPageNumber() - 1) : null;
|
Integer pageNumber = request.getPageNumber() != null ? (request.getPageNumber() - 1) : null;
|
||||||
Boolean showLogo = request.getShowLogo();
|
Boolean showLogo = request.getShowLogo();
|
||||||
|
|
||||||
if (certType == null || certType.trim().isEmpty()) {
|
if (StringUtils.isBlank(certType)) {
|
||||||
throw ExceptionUtils.createIllegalArgumentException(
|
throw ExceptionUtils.createIllegalArgumentException(
|
||||||
"error.optionsNotSpecified",
|
"error.optionsNotSpecified",
|
||||||
"{0} options are not specified",
|
"{0} options are not specified",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user