diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-23 03:29:57 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-23 03:29:57 +0100 |
commit | df7b37c2f5a7d7ace4e831595ae691aae816d83a (patch) | |
tree | 37285ab41f6115dfe14dd20e36a36afbc0980b24 /import/src/trakt.rs | |
parent | da57ad84e185fa2ee9d812bc74432bec51e6046e (diff) | |
download | jellything-df7b37c2f5a7d7ace4e831595ae691aae816d83a.tar jellything-df7b37c2f5a7d7ace4e831595ae691aae816d83a.tar.bz2 jellything-df7b37c2f5a7d7ace4e831595ae691aae816d83a.tar.zst |
some trakt api keys appear to be optional
Diffstat (limited to 'import/src/trakt.rs')
-rw-r--r-- | import/src/trakt.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/import/src/trakt.rs b/import/src/trakt.rs index 0441ad0..1d7b8f7 100644 --- a/import/src/trakt.rs +++ b/import/src/trakt.rs @@ -107,7 +107,9 @@ impl Trakt { #[derive(Debug, Clone, Deserialize, Serialize, Default, Encode, Decode)] pub struct TraktPeople { + #[serde(default)] pub cast: Vec<TraktAppearance>, + #[serde(default)] pub crew: BTreeMap<TraktPeopleGroup, Vec<TraktAppearance>>, } |