diff --git a/src/lib/api.ts b/src/lib/api.ts index bfdab39..886fc65 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -139,7 +139,7 @@ export async function listVideos(cursor?: string, pageSize = 9): Promise<{ export async function listVideosByCreator(creatorDid: string): Promise { const query = ` query GetVideosByCreator($creatorDid: String!) { - placeStreamVideo(first: 50, where: { creator: { equalTo: $creatorDid } }) { + placeStreamVideo(first: 50, where: { creator: { eq: $creatorDid } }) { edges { node { uri