Skip to content

Commit

Permalink
Changes applicationid variable to be obtained from local parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirishikesan committed Mar 21, 2024
1 parent b3fcbfb commit e7e8b35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ public Set<Subscription> getTopicSubscriptionsByApiUUID(String applicationId, St
}
subscription.setLastDeliveryState(resultSet.getInt("DELIVERY_STATE"));
subscription.setTopic(resultSet.getString("HUB_TOPIC"));
subscription.setAppID(resultSet.getString("APPLICATION_ID"));
subscription.setAppID(applicationId);

Check warning on line 1188 in components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java

View check run for this annotation

Codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java#L1188

Added line #L1188 was not covered by tests
subscriptionSet.add(subscription);
}
return subscriptionSet;
Expand Down

0 comments on commit e7e8b35

Please sign in to comment.