mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 06:56:27 +00:00
Changed to PUT method (#167)
This commit is contained in:
parent
17639a9b54
commit
c74b210120
@ -1985,7 +1985,7 @@ namespace SpotifyAPI.Web
|
||||
/// <returns></returns>
|
||||
public ErrorResponse SetRepeatMode(RepeatState state, string deviceId = "")
|
||||
{
|
||||
return UploadData<ErrorResponse>(_builder.SetRepeatMode(state, deviceId), string.Empty);
|
||||
return UploadData<ErrorResponse>(_builder.SetRepeatMode(state, deviceId), string.Empty, "PUT");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -1996,7 +1996,7 @@ namespace SpotifyAPI.Web
|
||||
/// <returns></returns>
|
||||
public ErrorResponse SetVolume(int volumePercent, string deviceId = "")
|
||||
{
|
||||
return UploadData<ErrorResponse>(_builder.SetVolume(volumePercent, deviceId), string.Empty);
|
||||
return UploadData<ErrorResponse>(_builder.SetVolume(volumePercent, deviceId), string.Empty, "PUT");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -2007,7 +2007,7 @@ namespace SpotifyAPI.Web
|
||||
/// <returns></returns>
|
||||
public ErrorResponse SetShuffle(bool shuffle, string deviceId = "")
|
||||
{
|
||||
return UploadData<ErrorResponse>(_builder.SetShuffle(shuffle, deviceId), string.Empty);
|
||||
return UploadData<ErrorResponse>(_builder.SetShuffle(shuffle, deviceId), string.Empty, "PUT");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
Reference in New Issue
Block a user