Skip to content

Commit

Permalink
Merge pull request #3519 from slahirucd7/choreo
Browse files Browse the repository at this point in the history
[Choreo] Minor correction for org ID assignment
  • Loading branch information
slahirucd7 authored May 16, 2024
2 parents 848ec6b + 71746cd commit 3671754
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public API getApiByContextAndVersion(String uuid) {

@Override
public SubscriptionPolicy getSubscriptionPolicyByOrgIdAndName(String orgId, String policyName) {
String organizationId = StringUtils.isNotEmpty(orgId) ? APIConstants.SUPER_TENANT_DOMAIN_NAME : orgId;
String organizationId = StringUtils.isEmpty(orgId) ? APIConstants.SUPER_TENANT_DOMAIN_NAME : orgId;
String key = PolicyType.SUBSCRIPTION +
SubscriptionDataStoreUtil.DELEM_PERIOD + organizationId +
SubscriptionDataStoreUtil.DELEM_PERIOD + policyName;
Expand Down

0 comments on commit 3671754

Please sign in to comment.