From bce363e8ff9838ac21dd45f93e313b8cc5540f41 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 16 Jul 2024 20:20:17 -0600 Subject: [PATCH] Parameter to setSegmentDuration should be segmentIndex --- src/index.tsx | 2 +- src/schema.gql | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 4cab2ef..378b0b5 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -906,7 +906,7 @@ export type MutationSetLoggerLevelArgs = { export type MutationSetSegmentDurationArgs = { duration: Scalars["Float"]["input"]; - segmentId: Scalars["Int"]["input"]; + segmentIndex: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"]; }; diff --git a/src/schema.gql b/src/schema.gql index 2512dcc..a1ea6fd 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -365,7 +365,11 @@ type Mutation { ): CreateUploadStreamReturn! getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn! getHlsInitUploadLink(videoId: Int!): GetUploadLinkReturn! - setSegmentDuration(videoId: Int!, segmentId: Int!, duration: Float!): Boolean! + setSegmentDuration( + videoId: Int! + segmentIndex: Int! + duration: Float! + ): Boolean! editUploadStream(videoId: Int!, videoMetadata: VideoMetadataInput!): Boolean! deleteVideo(videoId: Int!): Boolean! }