Merge branch 'master' of github.com:JohnnyCrazy/SpotifyAPI-NET

This commit is contained in:
Jonas Dellinger 2018-01-15 23:07:57 +01:00
commit 2008a6f07f

View File

@ -135,7 +135,7 @@ namespace SpotifyAPI.Local
internal string Query(string baseUrl, bool oauth, bool cfid, int wait, NameValueCollection @params = null)
{
string parameters = BuildQueryString(oauth, cfid, wait, @params);
string address = $"{_config.HostUrl}:{_config.Port}/{baseUrl}{parameters}";
string address = $"{_config.HostUrl}:{_config.Port}/{baseUrl}?{parameters}";
string response = string.Empty;
try
{
@ -158,7 +158,7 @@ namespace SpotifyAPI.Local
internal async Task<string> QueryAsync(string baseUrl, bool oauth, bool cfid, int wait, NameValueCollection @params = null)
{
string parameters = BuildQueryString(oauth, cfid, wait, @params);
string address = $"{_config.HostUrl}:{_config.Port}/{baseUrl}{parameters}";
string address = $"{_config.HostUrl}:{_config.Port}/{baseUrl}?{parameters}";
string response = "";
try
{