mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
parent
23f87c115a
commit
f3d6f53f6d
4 changed files with 20 additions and 21 deletions
|
|
@ -34,7 +34,7 @@ proc getProfile*(username: string): Future[Profile] {.async.} =
|
|||
let
|
||||
ps = genParams({"screen_name": username})
|
||||
json = await fetchRaw(userShow ? ps, Api.userShow)
|
||||
result = parseUser(json)
|
||||
result = parseUser(json, username)
|
||||
|
||||
proc getProfileById*(userId: string): Future[Profile] {.async.} =
|
||||
let
|
||||
|
|
|
|||
Loading…
Reference in a new issue