mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
Corrected syntax mistake in SaveTracksAsync method
This commit is contained in:
parent
ab05201bd2
commit
9bb25a8160
@ -824,7 +824,7 @@ namespace SpotifyAPI.Web
|
|||||||
public Task<ErrorResponse> SaveTracksAsync(List<String> ids)
|
public Task<ErrorResponse> SaveTracksAsync(List<String> ids)
|
||||||
{
|
{
|
||||||
JArray array = new JArray(ids);
|
JArray array = new JArray(ids);
|
||||||
return UploadDataAsync<ErrorResponse>(_builder.SearchItems(array.ToString(Formatting.None)), "PUT") ?? Task.FromResult(new ErrorResponse());
|
return UploadDataAsync<ErrorResponse>(_builder.SearchItems(array.ToString(Formatting.None), "PUT") ?? Task.FromResult(new ErrorResponse()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user