fix: handle empty artists

This commit is contained in:
ThetaDev 2023-02-08 21:38:58 +01:00
parent f98c85b385
commit 3574a44b77
2 changed files with 10 additions and 9 deletions

View file

@ -14,7 +14,7 @@ use super::{
#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
pub(crate) struct MusicArtist {
pub contents: SingleColumnBrowseResult<Tab<SectionList<ItemSection>>>,
pub contents: SingleColumnBrowseResult<Tab<Option<SectionList<ItemSection>>>>,
pub header: Header,
}