mirror of
https://github.com/zedeus/nitter.git
synced 2024-06-10 17:19:21 +00:00
fixed bug that caused everybody to be displayed as verified
This commit is contained in:
parent
f7e878c126
commit
a91669a885
|
@ -33,7 +33,7 @@ proc parseGraphUser(js: JsonNode): User =
|
|||
result = parseUser(user{"legacy"})
|
||||
|
||||
if "is_blue_verified" in user:
|
||||
result.verified = true
|
||||
result.verified = user{"is_blue_verified"}.getBool()
|
||||
|
||||
proc parseGraphList*(js: JsonNode): List =
|
||||
if js.isNull: return
|
||||
|
|
Loading…
Reference in a new issue