Skip to content

Commit

Permalink
revert an additional condition
Browse files Browse the repository at this point in the history
  • Loading branch information
HiranyaKavishani committed Dec 20, 2023
1 parent 342208f commit 042ad1b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1127,8 +1127,7 @@ public List<API> getAllApis(String organization, String deployment, boolean isEx
private static void setDefaultVersionContext(String apiType, API api, String version,
String publishedDefaultApiVersion, String context, String contextTemplate) {

if (StringUtils.isNotBlank(publishedDefaultApiVersion)
&& StringUtils.equals(version, publishedDefaultApiVersion)) {
if (StringUtils.isNotBlank(publishedDefaultApiVersion)) {
api.setIsDefaultVersion(true);
}

Expand Down

0 comments on commit 042ad1b

Please sign in to comment.