From 38e5fe46008fe37fb2ede9493e62b41b74da3263 Mon Sep 17 00:00:00 2001 From: Arnab Dutta Date: Wed, 15 Sep 2021 17:38:51 +0530 Subject: [PATCH] feat: add endpoint in admin-ui plugin to get license Details #65 --- .../configapi/plugin/adminui/rest/license/LicenseResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin-ui-plugin/src/main/java/io/jans/configapi/plugin/adminui/rest/license/LicenseResource.java b/plugins/admin-ui-plugin/src/main/java/io/jans/configapi/plugin/adminui/rest/license/LicenseResource.java index e53937f877f..0466c6ae22a 100644 --- a/plugins/admin-ui-plugin/src/main/java/io/jans/configapi/plugin/adminui/rest/license/LicenseResource.java +++ b/plugins/admin-ui-plugin/src/main/java/io/jans/configapi/plugin/adminui/rest/license/LicenseResource.java @@ -117,7 +117,7 @@ public LicenseResponse getLicenseDetails() { licenseResponse.setCustomerEmail(activeLicense.getData().getCustomer().getEmail()); licenseResponse.setCustomerFirstName(activeLicense.getData().getCustomer().getFirstName()); licenseResponse.setCustomerLastName(activeLicense.getData().getCustomer().getLastName()); - licenseResponse.setLicenseActive(activeLicense.getData().isExpired()); + licenseResponse.setLicenseActive(!activeLicense.getData().isExpired()); return licenseResponse; } } catch (LicenseSpringException e) {