Fix compilation with old Nim again

This commit is contained in:
Zed
2023-11-25 10:11:57 +00:00
parent f8254c2f0f
commit a9740fec8b
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ proc parseGraphUser*(json: string): User =
result = raw.data.userResult.result.legacy
result.id = raw.data.userResult.result.restId
if result.verifiedType == none and raw.data.userResult.result.isBlueVerified:
if result.verifiedType == VerifiedType.none and raw.data.userResult.result.isBlueVerified:
result.verifiedType = blue
proc parseGraphListMembers*(json, cursor: string): Result[User] =