From a4c76ec6e3f063927cd43113e3b3d107382071e5 Mon Sep 17 00:00:00 2001 From: "Johnny @PC" Date: Tue, 24 May 2016 18:17:24 +0200 Subject: [PATCH] Fixed usage of wrong WebClient instance --- SpotifyAPI/Web/SpotifyWebClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpotifyAPI/Web/SpotifyWebClient.cs b/SpotifyAPI/Web/SpotifyWebClient.cs index 898f4a01..3249376a 100644 --- a/SpotifyAPI/Web/SpotifyWebClient.cs +++ b/SpotifyAPI/Web/SpotifyWebClient.cs @@ -140,7 +140,7 @@ namespace SpotifyAPI.Web webClient.Proxy = null; webClient.Encoding = _encoding; webClient.Headers = _webClient.Headers; - return await _webClient.UploadDataTaskAsync(url, method, _encoding.GetBytes(body)); + return await webClient.UploadDataTaskAsync(url, method, _encoding.GetBytes(body)); } }