Skip to content

Commit

Permalink
Merge pull request #429 from rohanp1903/patch-1
Browse files Browse the repository at this point in the history
Update GraphService.cs
  • Loading branch information
nozzlegear authored Dec 30, 2019
2 parents 834fba4 + 7af7a41 commit e3b3adf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShopifySharp/Services/Graph/GraphService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public GraphService(string myShopifyUrl, string shopAccessToken) : base(myShopif
/// <returns>A JToken containing the data from the request.</returns>
public virtual async Task<JToken> PostAsync(string body)
{
var req = PrepareRequest("api/graphql.json");
var req = PrepareRequest("graphql.json");

var content = new StringContent(body, Encoding.UTF8, "application/graphql");

Expand All @@ -45,7 +45,7 @@ public virtual async Task<JToken> PostAsync(string body)
/// <returns>A JToken containing the data from the request.</returns>
public virtual async Task<JToken> PostAsync(JToken body)
{
var req = PrepareRequest("api/graphql.json");
var req = PrepareRequest("graphql.json");

var content = new StringContent(JsonConvert.SerializeObject(body), Encoding.UTF8, "application/json");

Expand Down

0 comments on commit e3b3adf

Please sign in to comment.