Skip to content

Commit

Permalink
[Twitter] Recognize boolean value for card
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriteOvO committed Jul 2, 2024
1 parent 8812f3a commit 39605a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/source/twitter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ mod data {
#[derive(Clone, Debug, PartialEq, Deserialize)]
#[serde(tag = "type", rename_all = "SCREAMING_SNAKE_CASE")]
pub enum TweetCardValue {
Boolean { boolean_value: bool },
String { string_value: String },
Image { image_value: TweetCardImageValue },
ImageColor,
Expand Down

0 comments on commit 39605a9

Please sign in to comment.