From e3e0e6de3d4394d3017d19ebe10c52bdd1611fc5 Mon Sep 17 00:00:00 2001 From: prathabanKavin Date: Tue, 18 Jun 2024 08:51:05 +0530 Subject: [PATCH] Change subscriptionType format --- .../mgt/core/impl/SubscriptionManagerImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/src/main/java/io/entgra/device/mgt/core/application/mgt/core/impl/SubscriptionManagerImpl.java b/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/src/main/java/io/entgra/device/mgt/core/application/mgt/core/impl/SubscriptionManagerImpl.java index 401534e1d9..aeebeb2c50 100644 --- a/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/src/main/java/io/entgra/device/mgt/core/application/mgt/core/impl/SubscriptionManagerImpl.java +++ b/components/application-mgt/io.entgra.device.mgt.core.application.mgt.core/src/main/java/io/entgra/device/mgt/core/application/mgt/core/impl/SubscriptionManagerImpl.java @@ -2634,23 +2634,23 @@ public class SubscriptionManagerImpl implements SubscriptionManager { List subscriptionCounts = new ArrayList<>(); subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( - "ALL", + "All", subscriptionDAO.getAllSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getAllUnsubscriptionCount(appReleaseId, tenantId))); subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( - "DEVICE", + "Device", subscriptionDAO.getDeviceSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getDeviceUnsubscriptionCount(appReleaseId, tenantId))); subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( - "GROUP", + "Group", subscriptionDAO.getGroupSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getGroupUnsubscriptionCount(appReleaseId, tenantId))); subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( - "ROLE", + "Role", subscriptionDAO.getRoleSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getRoleUnsubscriptionCount(appReleaseId, tenantId))); subscriptionCounts.add(new CategorizedSubscriptionCountsDTO( - "USER", + "User", subscriptionDAO.getUserSubscriptionCount(appReleaseId, tenantId), subscriptionDAO.getUserUnsubscriptionCount(appReleaseId, tenantId)));