mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Add a temporary fix for api subscription issue
This commit is contained in:
parent
7d1183274d
commit
dbf4ff0132
@ -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