diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 20:45:40 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 20:45:40 +0200 |
commit | c787885284c07ce931226d0e6213f25984b5259d (patch) | |
tree | 7c9e4a995cdc9dcc59e875218d241b04d2b6a15a /sys/nixpkgs/pkgs | |
parent | refactor(sys/pkgs/comments): Use better direnv api, instead of bare `.env` file (diff) | |
download | nixos-config-c787885284c07ce931226d0e6213f25984b5259d.tar.gz nixos-config-c787885284c07ce931226d0e6213f25984b5259d.zip |
fix(sys/pkgs/comments): Don't require `sponsorblock_chapters`
This field is not always available.
Diffstat (limited to '')
-rw-r--r-- | sys/nixpkgs/pkgs/comments/src/info_json.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/comments/src/info_json.rs b/sys/nixpkgs/pkgs/comments/src/info_json.rs index e7e6209b..eca4fae3 100644 --- a/sys/nixpkgs/pkgs/comments/src/info_json.rs +++ b/sys/nixpkgs/pkgs/comments/src/info_json.rs @@ -44,7 +44,7 @@ pub struct InfoJson { pub was_live: bool, pub epoch: u32, pub comments: Vec<Comment>, - pub sponsorblock_chapters: Vec<SponsorblockChapter>, + pub sponsorblock_chapters: Option<Vec<SponsorblockChapter>>, pub format: String, pub format_id: String, pub ext: String, |