File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,8 @@ export function CreateClassWizard({
146146 const baseFileName = uploadedFileName . replace ( / \. [ ^ / . ] + $ / , '' ) ;
147147 const languages = [ 'english' ] ; // Default to English only
148148
149- const { data, errors } = await client . mutations . startVideoProcessing ( {
149+ const { data, errors } = await client . mutations . stepFunction ( {
150+ action : "START" ,
150151 videoKey : uploadedFileName ,
151152 bucketName : BUCKET_NAME ,
152153 transcriptionKey : `${ baseFileName } _transcription` ,
@@ -183,7 +184,8 @@ export function CreateClassWizard({
183184
184185 const pollInterval = setInterval ( async ( ) => {
185186 try {
186- const { data, errors } = await client . queries . checkExecutionStatus ( {
187+ const { data, errors } = await client . mutations . stepFunction ( {
188+ action : "STATUS" ,
187189 executionArn : arn
188190 } ) ;
189191
You can’t perform that action at this time.
0 commit comments