From c787885284c07ce931226d0e6213f25984b5259d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 9 May 2024 20:45:40 +0200 Subject: fix(sys/pkgs/comments): Don't require `sponsorblock_chapters` This field is not always available. --- sys/nixpkgs/pkgs/comments/src/info_json.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/nixpkgs/pkgs/comments/src/info_json.rs') 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, - pub sponsorblock_chapters: Vec, + pub sponsorblock_chapters: Option>, pub format: String, pub format_id: String, pub ext: String, -- cgit 1.4.1