Switch back to old user search endpoint

This commit is contained in:
Zed
2023-08-22 03:44:11 +02:00
parent 6e8744943f
commit 8df5256c1d
7 changed files with 28 additions and 34 deletions

View File

@@ -56,7 +56,7 @@ proc toUser*(raw: RawUser): User =
tweets: raw.statusesCount,
likes: raw.favouritesCount,
media: raw.mediaCount,
verified: raw.verified,
verified: raw.verified or raw.extIsBlueVerified,
protected: raw.protected,
joinDate: parseTwitterDate(raw.createdAt),
banner: getBanner(raw),

View File

@@ -16,6 +16,7 @@ type
statusesCount*: int
mediaCount*: int
verified*: bool
extIsBlueVerified*: bool
protected*: bool
profileLinkColor*: string
profileBannerUrl*: string