mirror of
https://github.com/aditya-K2/gspt.git
synced 2026-01-10 06:18:03 -05:00
AddTracksToPlaylist wrapper
This commit is contained in:
@@ -14,3 +14,8 @@ func AddAlbumToPlaylist(albumId, playlistId spotify.ID) error {
|
||||
_, err = Client.AddTracksToPlaylist(ctx(), playlistId, t...)
|
||||
return err
|
||||
}
|
||||
|
||||
func AddTracksToPlaylist(playlistId spotify.ID, t ...spotify.ID) error {
|
||||
_, err := Client.AddTracksToPlaylist(ctx(), playlistId, t...)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user