fix: response models

This commit is contained in:
ThetaDev 2022-09-04 00:04:37 +02:00
parent 9da166304a
commit 17094d121b
5 changed files with 17 additions and 16 deletions

View file

@ -90,6 +90,7 @@ pub struct HeaderRenderer {
pub playlist_id: String,
#[serde_as(as = "crate::serializer::text::Text")]
pub title: String,
#[serde(default)]
#[serde_as(as = "DefaultOnError<Option<crate::serializer::text::Text>>")]
pub description_text: Option<String>,
/// `"495", " videos"`