diff --git a/ShopifySharp/Services/Graph/GraphService.cs b/ShopifySharp/Services/Graph/GraphService.cs index 68311b454..7fc59a8ba 100644 --- a/ShopifySharp/Services/Graph/GraphService.cs +++ b/ShopifySharp/Services/Graph/GraphService.cs @@ -80,12 +80,12 @@ public virtual Task SendAsync(string graphqlQuery, int? graphq public virtual async Task SendAsync(GraphRequest request, int? graphqlQueryCost = null, CancellationToken cancellationToken = default) where TResult : class { - return (TResult)await SendAsync(request, typeof(TResult), graphqlQueryCost, cancellationToken); + return (TResult)await PostAsync(request, typeof(TResult), graphqlQueryCost, cancellationToken); } - public virtual Task SendAsync(string graphqlQuery, Type resultType, int? graphqlQueryCost = null, CancellationToken cancellationToken = default) + public virtual Task PostAsync(string graphqlQuery, Type resultType, int? graphqlQueryCost = null, CancellationToken cancellationToken = default) { - return SendAsync(new GraphRequest { query = graphqlQuery }, resultType, graphqlQueryCost, cancellationToken); + return PostAsync(new GraphRequest { query = graphqlQuery }, resultType, graphqlQueryCost, cancellationToken); } public virtual async Task PostAsync(GraphRequest request, Type resultType, int? graphqlQueryCost = null, CancellationToken cancellationToken = default)