Replace old v1 photo rail API with gql

This commit is contained in:
Zed 2025-02-05 00:25:50 +01:00
commit 19569bb19f
8 changed files with 42 additions and 70 deletions

View file

@ -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)