apple_music icon indicating copy to clipboard operation
apple_music copied to clipboard

ArgumentError: wrong number of arguments (given 3, expected 2) when calling relationships

Open shcyiza opened this issue 2 years ago • 0 comments

Context: ruby: 3.0.4 rails: 6.1

the issue

ArgumentError: wrong number of arguments (given 3, expected 2)
from /usr/local/bundle/gems/apple_music-0.3.1/lib/apple_music/album.rb:47:in `get_relationship'

Same happens when calling ::Apple::Artist.related_albums(artist.id) for instance

PS: If you need that feature now you can call AppleMusic::Album.get_relationship(raw.id, :artists) to get the related artists of an album for instance

shcyiza avatar Aug 17 '22 15:08 shcyiza