Skip to content

Commit

Permalink
Fix Track JSON subtype annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesoltys committed Dec 3, 2020
1 parent d01e219 commit 2982510
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import com.stevesoltys.applemusic.model.track.song.Song
*/
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
include = JsonTypeInfo.As.PROPERTY,
include = JsonTypeInfo.As.EXISTING_PROPERTY,
property = "type"
)
@JsonSubTypes(
Expand Down

0 comments on commit 2982510

Please sign in to comment.