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 7, 2023
1 parent 91ef070 commit 0ea5133
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 0ea5133

Please sign in to comment.