Improve the subscribed devices and category details APIs

This commit is contained in:
nipunnadeen 2019-09-27 11:03:35 +05:30 committed by nipun
parent 9d1171b620
commit 58c866f33d

View File

@ -628,7 +628,6 @@ public class SubscriptionManagerImpl implements SubscriptionManager {
PaginationResult paginationResult = new PaginationResult();
try {
ConnectionManagerUtil.openDBConnection();
ApplicationDTO applicationDTO = this.applicationDAO
.getAppWithRelatedRelease(appUUID, tenantId);
int applicationReleaseId = applicationDTO.getApplicationReleaseDTOs().get(0).getId();