mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
Fixed usage of wrong WebClient instance
This commit is contained in:
parent
e3700394f3
commit
a4c76ec6e3
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user