From 0bf099bfb882ff5d474145f6043cf7cf00b4d604 Mon Sep 17 00:00:00 2001
From: Soispha <soispha@vhack.eu>
Date: Tue, 30 Jan 2024 15:22:56 +0100
Subject: fix(sys/nixpkgs/comments): Add missing fields to info_json parser

---
 sys/nixpkgs/pkgs/comments/src/info_json.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'sys')

diff --git a/sys/nixpkgs/pkgs/comments/src/info_json.rs b/sys/nixpkgs/pkgs/comments/src/info_json.rs
index 48a35777..35f24d8b 100644
--- a/sys/nixpkgs/pkgs/comments/src/info_json.rs
+++ b/sys/nixpkgs/pkgs/comments/src/info_json.rs
@@ -161,7 +161,8 @@ where
 pub struct Caption {
     pub ext: String,
     pub url: String,
-    pub name: String,
+    pub name: Option<String>,
+    pub protocol: Option<String>,
 }
 
 #[derive(Debug, Deserialize)]
-- 
cgit 1.4.1