From cc601554a1e9c52ef05c167d61662cfaddf78e80 Mon Sep 17 00:00:00 2001 From: Joshua Harms Date: Tue, 10 Dec 2024 00:40:38 -0600 Subject: [PATCH] Rename non-generic GraphService.SendAsync to GraphService.PostAsync --- ShopifySharp/Services/Graph/GraphService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShopifySharp/Services/Graph/GraphService.cs b/ShopifySharp/Services/Graph/GraphService.cs index 3085841af..68311b454 100644 --- a/ShopifySharp/Services/Graph/GraphService.cs +++ b/ShopifySharp/Services/Graph/GraphService.cs @@ -88,7 +88,7 @@ public virtual Task SendAsync(string graphqlQuery, Type resultType, int? return SendAsync(new GraphRequest { query = graphqlQuery }, resultType, graphqlQueryCost, cancellationToken); } - public virtual async Task SendAsync(GraphRequest request, Type resultType, int? graphqlQueryCost = null, CancellationToken cancellationToken = default) + public virtual async Task PostAsync(GraphRequest request, Type resultType, int? graphqlQueryCost = null, CancellationToken cancellationToken = default) { var elt = await this.SendAsync(request, graphqlQueryCost, cancellationToken); var ptyElt = elt.EnumerateObject().Single().Value;