use the same gql query for cursor management & polling

This commit is contained in:
2024-05-09 16:59:44 -07:00
parent a1b3baa5c9
commit 231076496a
3 changed files with 9 additions and 107 deletions

View File

@@ -58,14 +58,3 @@ query GetUploadStreamsWithDetails(
}
}
}
query GetUploadStreamDetails($videoId: Int!) {
getVideo(videoId: $videoId) {
id
stream {
isCompleted
uploadCompletionCursor
lastIntendedSegmentBound
}
}
}