Fixed usage of wrong WebClient instance

This commit is contained in:
Johnny @PC 2016-05-24 18:17:24 +02:00
parent e3700394f3
commit a4c76ec6e3

View File

@ -140,7 +140,7 @@ namespace SpotifyAPI.Web
webClient.Proxy = null; webClient.Proxy = null;
webClient.Encoding = _encoding; webClient.Encoding = _encoding;
webClient.Headers = _webClient.Headers; webClient.Headers = _webClient.Headers;
return await _webClient.UploadDataTaskAsync(url, method, _encoding.GetBytes(body)); return await webClient.UploadDataTaskAsync(url, method, _encoding.GetBytes(body));
} }
} }