Skip to content

Commit

Permalink
feat: backend changes for admin-ui to call licenseSpring apis via. SCAN
Browse files Browse the repository at this point in the history
  • Loading branch information
duttarnab committed Apr 5, 2023
1 parent 8ae7d33 commit 7301db9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public Response isActive() {
licenseResponse = licenseDetailsService.checkLicense();
log.info("Active license present (true/false): {}", licenseResponse.isApiResult());
return Response.ok(licenseResponse).build();

} catch (Exception e) {
log.error(ErrorResponse.CHECK_LICENSE_ERROR.getDescription(), e);
return Response.serverError().entity(licenseResponse).build();
Expand All @@ -90,7 +89,6 @@ public Response activateLicense(@Valid @NotNull LicenseRequest licenseRequest) {
licenseResponse = licenseDetailsService.activateLicense(licenseRequest);
log.info("License activated (true/false): {}", licenseResponse.isApiResult());
return Response.ok(licenseResponse).build();

} catch (Exception e) {
log.error(ErrorResponse.ACTIVATE_LICENSE_ERROR.getDescription(), e);
return Response.serverError().entity(licenseResponse).build();
Expand Down

0 comments on commit 7301db9

Please sign in to comment.