Skip to content

Commit

Permalink
Fix sandbox endpoint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
PasanT9 committed Oct 4, 2024
1 parent 1dd6fbf commit 9cf677c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ public static void encryptEndpointSecurityApiKeyCredentials(Map endpointConfig,
.put(APIConstants.ENDPOINT_SECURITY_API_KEY_VALUE, encryptedApiKeyValue);
} else if (StringUtils.isNotBlank(oldSandboxApiKeyValue)) {
endpointSecuritySandbox
.put(APIConstants.OAuthConstants.OAUTH_CLIENT_SECRET, oldSandboxApiKeyValue);
.put(APIConstants.ENDPOINT_SECURITY_API_KEY_VALUE, oldSandboxApiKeyValue);
} else {
String errorMessage = "ApiKey value is not provided for sandbox endpoint security";
throw new APIManagementException(
Expand Down

0 comments on commit 9cf677c

Please sign in to comment.