Skip to content

Commit

Permalink
Make function non public
Browse files Browse the repository at this point in the history
  • Loading branch information
darunrs committed May 21, 2024
1 parent ad5d90d commit f385863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block-streamer/src/graphql/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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<Q: GraphQLQuery, U: reqwest::IntoUrl>(
async fn post_graphql<Q: GraphQLQuery, U: reqwest::IntoUrl>(
client: &reqwest::Client,
url: U,
variables: Q::Variables,
Expand Down

0 comments on commit f385863

Please sign in to comment.