mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #674 from sinthuja/master
Fixing the case where multiple tags were passed for searching the APIs.
This commit is contained in:
commit
57c66d4a9f
@ -153,12 +153,14 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe
|
||||
subscription.setApiIdentifier(id);
|
||||
subscription.setApplicationId(application.getApplicationId());
|
||||
subscription.tier(ApiApplicationConstants.DEFAULT_TIER);
|
||||
if (!needToSubscribe.contains(subscription)){
|
||||
needToSubscribe.add(subscription);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!needToSubscribe.isEmpty()) {
|
||||
storeClient.getSubscriptionMultitpleApi().subscriptionsMultiplePost(needToSubscribe, CONTENT_TYPE);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user