Fixing the case where multiple tags were passed for searching the APIs.

revert-70aa11f8
sinthuja 8 years ago
parent f3e119cd78
commit 18583af6b4

@ -153,7 +153,9 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
subscription.setApiIdentifier(id);
subscription.setApplicationId(application.getApplicationId());
subscription.tier(ApiApplicationConstants.DEFAULT_TIER);
needToSubscribe.add(subscription);
if (!needToSubscribe.contains(subscription)){
needToSubscribe.add(subscription);
}
}
}
}

Loading…
Cancel
Save