From a99337b132e024cacc23730f4e1a8869e4b85d53 Mon Sep 17 00:00:00 2001 From: hiranyakavishani Date: Wed, 20 Dec 2023 16:46:10 +0530 Subject: [PATCH] Fixing issue in param change --- .../carbon/apimgt/impl/dao/SubscriptionValidationDAO.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/SubscriptionValidationDAO.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/SubscriptionValidationDAO.java index 7748326d9921..101bf44ca2b3 100644 --- a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/SubscriptionValidationDAO.java +++ b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/SubscriptionValidationDAO.java @@ -1100,8 +1100,8 @@ public List getAllApis(String organization, String deployment, boolean isEx String publishedDefaultApiVersion = resultSet.getString("PUBLISHED_DEFAULT_API_VERSION"); String contextTemplate = resultSet.getString("CONTEXT_TEMPLATE"); - setDefaultVersionContext(apiType, api, version, context, contextTemplate, - publishedDefaultApiVersion); + setDefaultVersionContext(apiType, api, version, publishedDefaultApiVersion, context, + contextTemplate); if (isExpand) { String revision = resultSet.getString("REVISION_UUID");