Skip to content

Commit 50be8ea

Browse files
Remove commented check for GraphQL API type in APIConsumerImpl
1 parent 16475b4 commit 50be8ea

File tree

1 file changed

+0
-1
lines changed
  • components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl

1 file changed

+0
-1
lines changed

components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3378,7 +3378,6 @@ public String invokeApiChatPrepare(String apiId, String apiChatRequestId, String
33783378
ObjectMapper objectMapper = new ObjectMapper();
33793379
ObjectNode payload = objectMapper.createObjectNode();
33803380

3381-
// check if the apitype is graphql
33823381
if (APIConstants.APITransportType.GRAPHQL.name().equalsIgnoreCase(apiType)) {
33833382
String graphQLSchema = getGraphqlSchemaDefinition(apiId, organization);
33843383
payload.put(APIConstants.GRAPHQL_SCHEMA, graphQLSchema);

0 commit comments

Comments
 (0)