Skip to content

Commit

Permalink
fix policy mapping to gateway validation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
YasasRangika committed Jan 9, 2024
1 parent 9280ede commit 25f798f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6979,7 +6979,7 @@ public boolean isPolicyMappingDeploymentExists(String gatewayPolicyMappingId, St
@Override
public boolean hasExistingDeployments(String tenantDomain, String gatewayLabel) throws APIManagementException {
return !StringUtils.isBlank(
apiMgtDAO.getGatewayPolicyMappingByGatewayLabel(tenantDomain, gatewayLabel));
apiMgtDAO.getGatewayPolicyMappingByGatewayLabel(gatewayLabel, tenantDomain));
}

@Override
Expand Down

0 comments on commit 25f798f

Please sign in to comment.