Skip to content

Commit

Permalink
Merge branch 'hotfix/missing-configure-awaits'
Browse files Browse the repository at this point in the history
  • Loading branch information
Antaris committed Oct 10, 2024
2 parents 2a2946d + 04a2115 commit 15e89ec
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions libs/TrybeSDK/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ protected internal async Task<TrybeResponse> SendAsync<TRequest>(

try
{
httpResp = await _http.SendAsync(httpReq, cancellationToken);
httpResp = await _http.SendAsync(httpReq, cancellationToken)
.ConfigureAwait(false);

var transformedResponse = await TransformResponse(
httpReq.Method,
Expand Down Expand Up @@ -337,7 +338,8 @@ async Task<Error> GetTrybeError()
}
else
{
Error? error = await GetTrybeError();
Error? error = await GetTrybeError()
.ConfigureAwait(false);

return new TrybeResponse(
method,
Expand Down Expand Up @@ -418,7 +420,8 @@ async Task<Error> GetTrybeError()
}
else
{
Error? error = await GetTrybeError();
Error? error = await GetTrybeError()
.ConfigureAwait(false);

return new TrybeResponse<TResponse>(
method,
Expand Down

0 comments on commit 15e89ec

Please sign in to comment.