Skip to content

Commit

Permalink
Add additional type identifier for music videos
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesoltys committed Dec 9, 2020
1 parent 2982510 commit 06e1080
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import com.stevesoltys.applemusic.model.track.song.Song
@JsonSubTypes(
value = [
JsonSubTypes.Type(value = Song::class, name = "songs"),
JsonSubTypes.Type(value = MusicVideo::class, name = "musicVideos")
JsonSubTypes.Type(value = MusicVideo::class, name = "musicVideos"),
JsonSubTypes.Type(value = MusicVideo::class, name = "music-videos")
]
)
abstract class Track : Resource()

0 comments on commit 06e1080

Please sign in to comment.