Procházet zdrojové kódy

Fix crash when parsing non-GraphQL cached tweets

Zed před 3 roky
rodič
revize
85f14c9a64
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/types.nim

+ 2 - 0
src/types.nim

@@ -177,6 +177,8 @@ type
     available*: bool
     tombstone*: string
     location*: string
+    ## Unused, needed for backwards compat
+    source*: string
     stats*: TweetStats
     retweet*: Option[Tweet]
     attribution*: Option[User]