Skip to content

Commit

Permalink
Fixing conditional issue
Browse files Browse the repository at this point in the history
  • Loading branch information
HiranyaKavishani committed Dec 18, 2023
1 parent bd9cf3d commit 632eea2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ private static List<Identifier> getOldPublishedAPIOrAPIProductList(ApiTypeWrappe
APIVersionComparator versionComparator = new APIVersionComparator();
APIProductVersionComparator apiProductVersionComparator = new APIProductVersionComparator();

if (apiTypeWrapper.isAPIProduct()) {
if (!apiTypeWrapper.isAPIProduct()) {
List<API> apiList;
apiList = getAPIVersionsByProviderAndName(apiTypeWrapper.getId().getProviderName(),
apiTypeWrapper.getId().getName());
Expand Down

0 comments on commit 632eea2

Please sign in to comment.