Skip to content

Commit

Permalink
Merge pull request #12629 from PasanT9/endpoint-config-sandbox
Browse files Browse the repository at this point in the history
Fix sandbox endpoint configs for AI APIs
  • Loading branch information
PasanT9 authored Oct 4, 2024
2 parents 9075d1e + 9cf677c commit 337a23a
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 337a23a

Please sign in to comment.