mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
Fix duplicate '?' in query part of URI (#462)
This commit is contained in:
parent
87127a51a8
commit
d7c54ebfcd
@ -29,7 +29,7 @@ namespace SpotifyAPI.Web
|
|||||||
}
|
}
|
||||||
|
|
||||||
var queryString = string.Join("&", newParameters.Select((parameter) => $"{parameter.Key}={parameter.Value}"));
|
var queryString = string.Join("&", newParameters.Select((parameter) => $"{parameter.Key}={parameter.Value}"));
|
||||||
var query = string.IsNullOrEmpty(queryString) ? null : $"?{queryString}";
|
var query = string.IsNullOrEmpty(queryString) ? null : queryString;
|
||||||
|
|
||||||
var uriBuilder = new UriBuilder(uri)
|
var uriBuilder = new UriBuilder(uri)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user