mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #1227 from geethkokila/master
Add a temporary fix for api subscription issue
This commit is contained in:
commit
3d4a3ed105
@ -155,7 +155,12 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!needToSubscribe.isEmpty()) {
|
if (!needToSubscribe.isEmpty()) {
|
||||||
|
// TODO: Fix this properly
|
||||||
|
try {
|
||||||
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
|
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
|
||||||
|
} catch (Exception e){
|
||||||
|
log.warn("Please check the API subscriptions.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//end of subscription
|
//end of subscription
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user