Explorar el Código

Fix crash when parsing non-GraphQL cached tweets

Zed hace 3 años
padre
commit
85f14c9a64
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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]