mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixed exception in subscribing APIs
This commit is contained in:
parent
41358a41a5
commit
481d381ca7
@ -155,12 +155,7 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!needToSubscribe.isEmpty()) {
|
if (!needToSubscribe.isEmpty()) {
|
||||||
// TODO: Fix this properly
|
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
|
||||||
try {
|
|
||||||
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
|
|
||||||
} catch (Exception e){
|
|
||||||
log.warn("Please check the API subscriptions.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
//end of subscription
|
//end of subscription
|
||||||
|
|
||||||
|
|||||||
@ -1374,9 +1374,9 @@ paths:
|
|||||||
OK.
|
OK.
|
||||||
Successful response with the newly created objects as entity in the body.
|
Successful response with the newly created objects as entity in the body.
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/Subscription'
|
type: array
|
||||||
items:
|
items:
|
||||||
type: array
|
$ref: '#/definitions/Subscription'
|
||||||
headers:
|
headers:
|
||||||
Content-Type:
|
Content-Type:
|
||||||
description: |
|
description: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user