fixed bug that caused everybody to be displayed as verified
This commit is contained in:
parent
7753e44d36
commit
208c39db87
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ proc parseGraphUser(js: JsonNode): User =
|
||||||
result = parseUser(user{"legacy"})
|
result = parseUser(user{"legacy"})
|
||||||
|
|
||||||
if "is_blue_verified" in user:
|
if "is_blue_verified" in user:
|
||||||
result.verified = true
|
result.verified = user{"is_blue_verified"}.getBool()
|
||||||
|
|
||||||
proc parseGraphList*(js: JsonNode): List =
|
proc parseGraphList*(js: JsonNode): List =
|
||||||
if js.isNull: return
|
if js.isNull: return
|
||||||
|
|
Loading…
Reference in a new issue