Replace old v1 photo rail API with gql
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user