Skip to content

Commit df07026

Browse files
committed
Small fixes
1 parent 79848da commit df07026

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.github/FUNDING.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# These are supported funding model platforms
22

3-
github: alexeyzimarev
3+
github: restsharp

docs/.idea/GitLink.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/RestSharp/Response/RestResponseBase.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public abstract class RestResponseBase {
6868
/// <summary>
6969
/// Whether or not the HTTP response status code indicates success and no other error occurred (deserialization, timeout, ...)
7070
/// </summary>
71-
public bool IsSuccessful { get => IsSuccessStatusCode && ResponseStatus == ResponseStatus.Completed; }
71+
public bool IsSuccessful => IsSuccessStatusCode && ResponseStatus == ResponseStatus.Completed;
7272

7373
/// <summary>
7474
/// Description of HTTP status returned

test/RestSharp.InteractiveTests/TwitterClient.cs

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public TwitterAuthenticator(string baseUrl, string clientId, string clientSecret
8888

8989
protected override async ValueTask<Parameter> GetAuthenticationParameter(string accessToken) {
9090
var token = string.IsNullOrEmpty(Token) ? await GetToken() : Token;
91+
Token = token;
9192
return new HeaderParameter(KnownHeaders.Authorization, token);
9293
}
9394

0 commit comments

Comments
 (0)