mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Replace old v1 photo rail API with gql
This commit is contained in:
parent
c6edec0490
commit
19569bb19f
8 changed files with 42 additions and 70 deletions
|
|
@ -47,7 +47,7 @@ proc fetchProfile*(after: string; query: Query; skipRail=false;
|
|||
let
|
||||
rail =
|
||||
skipIf(skipRail or query.kind == media, @[]):
|
||||
getCachedPhotoRail(name)
|
||||
getCachedPhotoRail(userId)
|
||||
|
||||
user = getCachedUser(name)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue