Skip to content

Commit

Permalink
REST API SDK 3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Svisstack committed Apr 23, 2024
1 parent c792829 commit 2a9f9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data-api/csharp-rest/CoinAPI.REST.V1/CoinApiRestClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private async Task<T> GetData<T>(string url)

private static async Task RaiseError(HttpResponseMessage response)
{
var responseString = await responseMessage.Content.ReadAsStringAsync().ConfigureAwait(false);
var responseString = await response.Content.ReadAsStringAsync().ConfigureAwait(false);
var message = (await DeserializeFromString<ErrorMessage>(responseString).ConfigureAwait(false))?.message ?? responseString;

switch ((int)response.StatusCode)
Expand Down

0 comments on commit 2a9f9e1

Please sign in to comment.