Skip to content

Commit

Permalink
Merge pull request #927 from clement911/compile-error-fix
Browse files Browse the repository at this point in the history
Fix compile errors from previous commit
  • Loading branch information
clement911 authored Sep 13, 2023
2 parents 523d667 + 010ae95 commit bfc6de0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ShopifySharp.Tests/Graph_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Graph_Tests(Graph_Tests_Fixture fixture)
[Fact(DisplayName = "Lists orders using the GraphService")]
public async Task ListsOrdersUsingGraphService()
{
var query = """
var query = @"
query listOrdersWithTag($limit: Int!) {
orders(first: $limit) {
pageInfo {
Expand All @@ -67,7 +67,7 @@ query listOrdersWithTag($limit: Int!) {
}
}
}
""";
";
var variables = new Dictionary<string, object>
{
{ "limit", 10 }
Expand Down Expand Up @@ -102,7 +102,7 @@ query listOrdersWithTag($limit: Int!) {

public class Graph_Tests_Fixture : IAsyncLifetime
{
public readonly GraphService Service = new (Utils.MyShopifyUrl, Utils.AccessToken);
public readonly GraphService Service = new GraphService(Utils.MyShopifyUrl, Utils.AccessToken);

public Task InitializeAsync()
{
Expand Down
2 changes: 1 addition & 1 deletion ShopifySharp/Infrastructure/Serializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace ShopifySharp.Infrastructure
/// </summary>
public static class Serializer
{
private static JsonSerializerSettings CreateSettings()
public static JsonSerializerSettings CreateSettings()
{
return new JsonSerializerSettings
{
Expand Down

0 comments on commit bfc6de0

Please sign in to comment.