From 42502772f589577bec8040d94c273cc6d7a61d99 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Mon, 4 Nov 2024 14:59:39 -0700 Subject: [PATCH] Use get feed videos --- src/index.tsx | 4 ++-- src/operations/feed.gql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index f159f47..77cff67 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2750,7 +2750,7 @@ export type GetFeedQueryVariables = Exact<{ export type GetFeedQuery = { __typename?: "Query"; - getUserVideos: { + getFeedVideos: { __typename?: "VideoHistoryGQL"; videos: Array<{ __typename?: "VideoGQL"; @@ -4188,7 +4188,7 @@ export const GetFeedDocument = gql` $after: String = null $filters: VideoFilterInput = null ) { - getUserVideos(limit: $limit, after: $after, filters: $filters) { + getFeedVideos(limit: $limit, after: $after, filters: $filters) { videos { id owner { diff --git a/src/operations/feed.gql b/src/operations/feed.gql index 80814e5..9ac38ec 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -3,7 +3,7 @@ query GetFeed( $after: String = null $filters: VideoFilterInput = null ) { - getUserVideos(limit: $limit, after: $after, filters: $filters) { + getFeedVideos(limit: $limit, after: $after, filters: $filters) { videos { id owner {