aboutsummaryrefslogtreecommitdiffstats
path: root/src/deserialize.rs
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2024-04-08 11:59:29 -0400
committeralyx <alyx@aleteoryx.me>2024-04-08 11:59:29 -0400
commitf548d2d297bbf452aa206042f2029d7137df0477 (patch)
treebf126a6c4e7d533631c3bc76f20b627945889611 /src/deserialize.rs
parent95fe09db7d64e1ca746ccc5865b8ff577c386aaa (diff)
downloadlfm_embed-release-0.2.0.tar.gz
lfm_embed-release-0.2.0.tar.bz2
lfm_embed-release-0.2.0.zip
Various fixesrelease-0.2.0
Diffstat (limited to 'src/deserialize.rs')
-rw-r--r--src/deserialize.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deserialize.rs b/src/deserialize.rs
index b1c4da8..0998cbd 100644
--- a/src/deserialize.rs
+++ b/src/deserialize.rs
@@ -106,7 +106,7 @@ pub struct Track {
#[serde(default)]
pub images: Vec<Image>,
pub mbid: Option<Arc<str>>,
- pub album: Album,
+ pub album: Option<Album>,
pub name: Arc<str>,
pub url: Arc<str>,
#[serde(deserialize_with = "str_num")]