Skip to content

Commit

Permalink
breaking: Make bucket state return types nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
nozzlegear committed May 14, 2024
1 parent a466d22 commit 22f9570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShopifySharp/Infrastructure/RequestResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ public RequestResult(
StatusCode = statusCode;
}

public RestBucketState GetRestBucketState()
public RestBucketState? GetRestBucketState()
{
return RestBucketState.Get(ResponseHeaders);
}

public GraphQLBucketState GetGraphQLBucketState(System.Text.Json.JsonDocument response)
public GraphQLBucketState? GetGraphQLBucketState(System.Text.Json.JsonDocument response)
{
return GraphQLBucketState.Get(response);
}
Expand Down

0 comments on commit 22f9570

Please sign in to comment.