From 6b410b3d785c2dd3f7730296c77c4cdc91cf2f67 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Tue, 5 Nov 2024 12:53:42 -0700 Subject: [PATCH] Return profile image in feed --- src/index.tsx | 7 ++++++- src/operations/feed.gql | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index ace2db4..e52727f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2810,7 +2810,11 @@ export type GetVideoFeedQuery = { endTime?: any | null; elapsedTime?: number | null; tableSize: number; - owner?: { __typename?: "UserGQL"; username: string } | null; + owner?: { + __typename?: "UserGQL"; + username: string; + profileImageUri?: string | null; + } | null; stream?: { __typename?: "UploadStreamGQL"; id: string; @@ -4340,6 +4344,7 @@ export const GetVideoFeedDocument = gql` id owner { username + profileImageUri } name screenshotUri diff --git a/src/operations/feed.gql b/src/operations/feed.gql index fbbb7c8..f9079ce 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -49,6 +49,7 @@ query GetVideoFeed( id owner { username + profileImageUri } name screenshotUri -- 2.46.1