Spartan
Spartan copied to clipboard
`getTrack` returns invalid Track object whereas `getTracks` works as expected
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