We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2e499 commit 5a777dcCopy full SHA for 5a777dc
WebApiClient/AuthTokens/TokenClient.cs
@@ -180,7 +180,7 @@ public Task<TokenResult> RequestRefreshTokenAsync(
180
private async Task<TokenResult> RequestTokenResultAsync(Credentials credentials)
181
{
182
var httpContent = new UrlEncodedContent();
183
- var keyValues = keyValueFormatter.Serialize(null, credentials, this.FormatOptions);
+ var keyValues = keyValueFormatter.Serialize(nameof(credentials), credentials, this.FormatOptions);
184
await httpContent.AddFormFieldAsync(keyValues).ConfigureAwait(false);
185
186
using (var httpClient = new HttpClient { Timeout = this.timeout })
0 commit comments