mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
Fixed Follow endpoint always returning false, closes #496
This commit is contained in:
parent
dfecf9f7fd
commit
5f57b505ed
@ -32,7 +32,7 @@ namespace SpotifyAPI.Web
|
|||||||
var statusCode = await API
|
var statusCode = await API
|
||||||
.Put(URLs.CurrentUserFollower(), request.BuildQueryParams(), request.BuildBodyParams())
|
.Put(URLs.CurrentUserFollower(), request.BuildQueryParams(), request.BuildBodyParams())
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
return statusCode == HttpStatusCode.OK;
|
return statusCode == HttpStatusCode.NoContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<bool> FollowPlaylist(string playlistId)
|
public async Task<bool> FollowPlaylist(string playlistId)
|
||||||
|
Loading…
Reference in New Issue
Block a user