diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 4ed5ffc9b..129655002 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,3 @@ # These are supported funding model platforms -github: alexeyzimarev +github: restsharp diff --git a/docs/.idea/GitLink.xml b/docs/.idea/GitLink.xml new file mode 100644 index 000000000..009597cc2 --- /dev/null +++ b/docs/.idea/GitLink.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/src/RestSharp/Response/RestResponseBase.cs b/src/RestSharp/Response/RestResponseBase.cs index 1a0aa9b2e..498d3a7cf 100644 --- a/src/RestSharp/Response/RestResponseBase.cs +++ b/src/RestSharp/Response/RestResponseBase.cs @@ -68,7 +68,7 @@ public abstract class RestResponseBase { /// /// Whether or not the HTTP response status code indicates success and no other error occurred (deserialization, timeout, ...) /// - public bool IsSuccessful { get => IsSuccessStatusCode && ResponseStatus == ResponseStatus.Completed; } + public bool IsSuccessful => IsSuccessStatusCode && ResponseStatus == ResponseStatus.Completed; /// /// Description of HTTP status returned diff --git a/test/RestSharp.InteractiveTests/TwitterClient.cs b/test/RestSharp.InteractiveTests/TwitterClient.cs index 8659a2a6d..e3290ceaa 100644 --- a/test/RestSharp.InteractiveTests/TwitterClient.cs +++ b/test/RestSharp.InteractiveTests/TwitterClient.cs @@ -88,6 +88,7 @@ public TwitterAuthenticator(string baseUrl, string clientId, string clientSecret protected override async ValueTask GetAuthenticationParameter(string accessToken) { var token = string.IsNullOrEmpty(Token) ? await GetToken() : Token; + Token = token; return new HeaderParameter(KnownHeaders.Authorization, token); }