Add a temporary fix for api subscription issue

revert-70aa11f8
geethkokila 7 years ago
parent 7d1183274d
commit dbf4ff0132

@ -155,7 +155,12 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
} }
} }
if (!needToSubscribe.isEmpty()) { if (!needToSubscribe.isEmpty()) {
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE); // TODO: Fix this properly
try {
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
} catch (Exception e){
log.warn("Please check the API subscriptions.");
}
} }
//end of subscription //end of subscription

Loading…
Cancel
Save