Skip to content

Commit 2008a6f

Browse files
author
Jonas Dellinger
committed
Merge branch 'master' of github.com:JohnnyCrazy/SpotifyAPI-NET
2 parents 729565d + b1365a6 commit 2008a6f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SpotifyAPI/Local/RemoteHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ internal string BuildQueryString(bool oauth, bool cfid, int wait, NameValueColle
135135
internal string Query(string baseUrl, bool oauth, bool cfid, int wait, NameValueCollection @params = null)
136136
{
137137
string parameters = BuildQueryString(oauth, cfid, wait, @params);
138-
string address = $"{_config.HostUrl}:{_config.Port}/{baseUrl}{parameters}";
138+
string address = $"{_config.HostUrl}:{_config.Port}/{baseUrl}?{parameters}";
139139
string response = string.Empty;
140140
try
141141
{
@@ -158,7 +158,7 @@ internal string Query(string baseUrl, bool oauth, bool cfid, int wait, NameValue
158158
internal async Task<string> QueryAsync(string baseUrl, bool oauth, bool cfid, int wait, NameValueCollection @params = null)
159159
{
160160
string parameters = BuildQueryString(oauth, cfid, wait, @params);
161-
string address = $"{_config.HostUrl}:{_config.Port}/{baseUrl}{parameters}";
161+
string address = $"{_config.HostUrl}:{_config.Port}/{baseUrl}?{parameters}";
162162
string response = "";
163163
try
164164
{

0 commit comments

Comments
 (0)