Skip to content

Commit e59fcf3

Browse files
author
Kevin Hellemun
committed
Fixed typos in ResponseId. (#63)
1 parent 4a42f7d commit e59fcf3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

BunqSdk/Exception/ApiException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Bunq.Sdk.Exception
44
public class ApiException : System.Exception
55
{
66
public int ResponseCode { get; private set; }
7-
public string ResponsId { get; private set; }
7+
public string ResponseId { get; private set; }
88

99
/// <inheritdoc />
1010
/// <param name="responseCode">The HTTP Response code of the failed request.</param>
@@ -13,7 +13,7 @@ public class ApiException : System.Exception
1313
protected ApiException(int responseCode, string message, string responseId) : base(message)
1414
{
1515
ResponseCode = responseCode;
16-
ResponsId = responseId;
16+
ResponseId = responseId;
1717
}
1818
}
1919
}

BunqSdk/Http/ApiClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,11 @@ private static void AssertResponseSuccess(HttpResponseMessage responseMessage)
293293
throw CreateApiExceptionRequestUnsuccessful(
294294
responseCode,
295295
responseBody,
296-
GetResponsId(responseMessage.Headers)
296+
GetResponseId(responseMessage.Headers)
297297
);
298298
}
299299

300-
private static string GetResponsId(HttpHeaders allHeader)
300+
private static string GetResponseId(HttpHeaders allHeader)
301301
{
302302
if (allHeader.Contains(HEADER_RESPONSE_ID_UPPER_CASE))
303303
{

0 commit comments

Comments
 (0)