소스 검색

Fix crash when parsing non-GraphQL cached tweets

Zed 3 년 전
부모
커밋
85f14c9a64
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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]