apple_music
apple_music copied to clipboard
ArgumentError: wrong number of arguments (given 3, expected 2) when calling relationships
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