refactor!: make artist description optional
This commit is contained in:
parent
81e913fa85
commit
690388788a
16 changed files with 25 additions and 24 deletions
|
|
@ -34,9 +34,8 @@ pub(crate) struct MusicHeaderRenderer {
|
|||
#[serde(default)]
|
||||
#[serde_as(as = "DefaultOnError")]
|
||||
pub subscription_button: Option<SubscriptionButton>,
|
||||
#[serde(default)]
|
||||
#[serde_as(as = "Text")]
|
||||
pub description: String,
|
||||
#[serde_as(as = "Option<Text>")]
|
||||
pub description: Option<String>,
|
||||
#[serde(default)]
|
||||
pub thumbnail: MusicThumbnailRenderer,
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue