mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
Merge branch 'master' of github.com:JohnnyCrazy/SpotifyAPI-NET
This commit is contained in:
commit
2008a6f07f
@ -135,7 +135,7 @@ namespace SpotifyAPI.Local
|
|||||||
internal string Query(string baseUrl, bool oauth, bool cfid, int wait, NameValueCollection @params = null)
|
internal string Query(string baseUrl, bool oauth, bool cfid, int wait, NameValueCollection @params = null)
|
||||||
{
|
{
|
||||||
string parameters = BuildQueryString(oauth, cfid, wait, @params);
|
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;
|
string response = string.Empty;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -158,7 +158,7 @@ namespace SpotifyAPI.Local
|
|||||||
internal async Task<string> QueryAsync(string baseUrl, bool oauth, bool cfid, int wait, NameValueCollection @params = null)
|
internal async Task<string> QueryAsync(string baseUrl, bool oauth, bool cfid, int wait, NameValueCollection @params = null)
|
||||||
{
|
{
|
||||||
string parameters = BuildQueryString(oauth, cfid, wait, @params);
|
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 response = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user