From 2cccfb108021873cdbf0e7d3fcda18b48ba1bbd2 Mon Sep 17 00:00:00 2001 From: 11tuvork28 Date: Thu, 9 Jun 2022 14:53:10 +0200 Subject: [PATCH] Made captions option, fixes error when captions are none --- src/types/query_results.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/query_results.rs b/src/types/query_results.rs index 19dadf6..2cdb557 100644 --- a/src/types/query_results.rs +++ b/src/types/query_results.rs @@ -49,7 +49,7 @@ pub struct PlayerResult{ pub storyboards: StorybordWrapper, pub microformat: PlayerMicroformatRenderer, pub playability_status:PlayabilityStatus, - pub captions: PlayerCaptionsTracklistRenderer + pub captions: Option }