Skip to content

Commit

Permalink
fixed bug that caused everybody to be displayed as verified (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
PrivacyDevel committed May 30, 2023
1 parent f7e878c commit 38985af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38985af

Please sign in to comment.