fixed api Id issue for subscription

4.x.x
ayyoob 8 years ago
parent 3c45f9af11
commit 0c4a78f3e9

@ -112,7 +112,7 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
boolean subscriptionExist = false; boolean subscriptionExist = false;
if (subscriptionList.getList() != null && subscriptionList.getList().size() > 0) { if (subscriptionList.getList() != null && subscriptionList.getList().size() > 0) {
for (Subscription subs : subscriptionList.getList()) { for (Subscription subs : subscriptionList.getList()) {
if (subs.getApiIdentifier().equals(apiInfo.getId()) && subs.getApplicationId().equals( if (subs.getApiIdentifier().equals(id) && subs.getApplicationId().equals(
application.getApplicationId())) { application.getApplicationId())) {
subscriptionExist = true; subscriptionExist = true;
break; break;

Loading…
Cancel
Save