Skip to content

Commit 54d7996

Browse files
committed
Fix a few whitespace issues w/ the previous commit.
1 parent 525b6bc commit 54d7996

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

RestSharp/RestClient.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ private void ConfigureHttp(IRestRequest request, IHttp http)
444444
}
445445
}
446446

447-
private RestResponse ConvertToRestResponse(IRestRequest request, HttpResponse httpResponse)
447+
private RestResponse ConvertToRestResponse(IRestRequest request, HttpResponse httpResponse)
448448
{
449449
var restResponse = new RestResponse();
450450
restResponse.Content = httpResponse.Content;
@@ -459,7 +459,7 @@ private RestResponse ConvertToRestResponse(IRestRequest request, HttpResponse ht
459459
restResponse.Server = httpResponse.Server;
460460
restResponse.StatusCode = httpResponse.StatusCode;
461461
restResponse.StatusDescription = httpResponse.StatusDescription;
462-
restResponse.Request = request;
462+
restResponse.Request = request;
463463

464464
foreach (var header in httpResponse.Headers)
465465
{
@@ -503,8 +503,8 @@ private IRestResponse<T> Deserialize<T>(IRestRequest request, IRestResponse raw)
503503
{
504504
response = raw.toAsyncResponse<T>();
505505
response.Data = handler.Deserialize<T>(raw);
506-
response.Request = request;
507-
}
506+
response.Request = request;
507+
}
508508
catch (Exception ex)
509509
{
510510
response.ResponseStatus = ResponseStatus.Error;

RestSharp/RestResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public static explicit operator RestResponse<T>(RestResponse response)
157157
Server = response.Server,
158158
StatusCode = response.StatusCode,
159159
StatusDescription = response.StatusDescription,
160-
Request = response.Request
160+
Request = response.Request
161161
};
162162
}
163163

0 commit comments

Comments
 (0)