You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Spartan method getTrack(id: String...) Track object is received but most of its properties are nil, when I checked the uri of the object it turns out that actually an Album object was received but when Spartan tried to map it to Track most of the properties were nil.
See the Xcode Quicklook of the object
You can see that the object is in fact an album.
I think I'm calling the method correctly
Although this method gives wrong results, using getTracks(ids: [String]...) works correctly and I'll be using it to get single tracks from the API
The text was updated successfully, but these errors were encountered:
When using Spartan method
getTrack(id: String...)
Track object is received but most of its properties arenil
, when I checked theuri
of the object it turns out that actually anAlbum
object was received but when Spartan tried to map it toTrack
most of the properties were nil.See the Xcode Quicklook of the object
You can see that the object is in fact an album.
I think I'm calling the method correctly
Although this method gives wrong results, using
getTracks(ids: [String]...)
works correctly and I'll be using it to get single tracks from the APIThe text was updated successfully, but these errors were encountered: