From f385863640ecf2171565a82084916b8c0e448723 Mon Sep 17 00:00:00 2001 From: Darun Seethammagari Date: Tue, 21 May 2024 12:14:53 -0700 Subject: [PATCH] Make function non public --- block-streamer/src/graphql/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block-streamer/src/graphql/client.rs b/block-streamer/src/graphql/client.rs index 5186a8c8f..12f94a0df 100644 --- a/block-streamer/src/graphql/client.rs +++ b/block-streamer/src/graphql/client.rs @@ -7,6 +7,7 @@ const HASURA_ACCOUNT: &str = "darunrs_near"; #[allow(clippy::upper_case_acronyms)] type Date = String; + #[derive(GraphQLQuery)] #[graphql( schema_path = "graphql/darunrs_near/schema.graphql", @@ -30,8 +31,7 @@ pub struct GraphQLClient { graphql_endpoint: String, } -/// Use the provided reqwest::Client to post a GraphQL request. -pub async fn post_graphql( +async fn post_graphql( client: &reqwest::Client, url: U, variables: Q::Variables,