Skip to content

Commit

Permalink
Fix: Custom Backend Get Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BLasan committed Sep 9, 2024
1 parent c3a51fd commit 5ddb2ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public Response getCustomBackendData(String type, String customBackendId, String
Map<String, Object> endpointConfig = apiProvider.getCustomBackendOfAPIByUUID(customBackendId, apiId, type,
false);

if (endpointConfig != null) {
if (endpointConfig == null) {
throw new APIMgtResourceNotFoundException(
"Couldn't retrieve an existing Custom Backend with ID: " + customBackendId + " for API " + apiId,
ExceptionCodes.from(ExceptionCodes.CUSTOM_BACKEND_NOT_FOUND, customBackendId));
Expand Down

0 comments on commit 5ddb2ab

Please sign in to comment.