Skip to content

Commit

Permalink
Update ApiResponse.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyBies authored Feb 3, 2022
1 parent 4689dae commit 12bc255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Refit/ApiResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public ApiResponse(HttpResponseMessage response, T? content, RefitSettings setti

#if NET5_0_OR_GREATER
[MemberNotNullWhen(true, nameof(Content))]
[MemberNotNullWhen(true, nameof(ContentHeaders))]
[MemberNotNullWhen(false, nameof(Error))]
#endif
public bool IsSuccessStatusCode => response.IsSuccessStatusCode;
Expand Down

0 comments on commit 12bc255

Please sign in to comment.