Joaquín Reñé
2022-03-10 d535429a2f18c82de7716076a8065f6ad95f0483
securis/src/main/java/net/curisit/securis/services/LicenseResource.java
....@@ -592,7 +592,7 @@
592592 }
593593
594594 private License getCurrentLicense(Integer licId, BasicSecurityContext bsc, EntityManager em) throws SeCurisServiceException {
595
- if (licId == null || "".equals(licId)) {
595
+ if (licId == null || "".equals(Integer.toString(licId))) {
596596 LOG.error("License ID is mandatory");
597597 throw new SeCurisServiceException(Status.NOT_FOUND.getStatusCode(), "Missing license ID");
598598 }