Skip to content

Commit

Permalink
Made captions option, fixes error when captions are none
Browse files Browse the repository at this point in the history
  • Loading branch information
89Q12 committed Jun 9, 2022
1 parent 644afea commit 2cccfb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/query_results.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub struct PlayerResult{
pub storyboards: StorybordWrapper,
pub microformat: PlayerMicroformatRenderer,
pub playability_status:PlayabilityStatus,
pub captions: PlayerCaptionsTracklistRenderer
pub captions: Option<PlayerCaptionsTracklistRenderer>
}


Expand Down

0 comments on commit 2cccfb1

Please # to comment.