Add another error code to parseStatus

このコミットが含まれているのは:
Zed 2023-03-06 00:22:27 +01:00
コミット 56420a28bd
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -301,7 +301,7 @@ proc parseGlobalObjects(js: JsonNode): GlobalObjects =
proc parseStatus*(js: JsonNode): Tweet =
with e, js{"errors"}:
if e.getError in {tweetNotFound, tweetUnavailable, tweetCensored}:
if e.getError in {tweetNotFound, tweetUnavailable, tweetCensored, doesntExist}:
return
result = parseTweet(js, js{"card"})