diff --git a/src/redux/workflowPostAndProcessSlice.ts b/src/redux/workflowPostAndProcessSlice.ts index 68524b09b..1149096c6 100644 --- a/src/redux/workflowPostAndProcessSlice.ts +++ b/src/redux/workflowPostAndProcessSlice.ts @@ -17,7 +17,12 @@ export const postVideoInformationWithWorkflow = createAsyncThunk('video/postVide } const response = await client.post(`${settings.opencast.url}/editor/${settings.id}/edit.json`, - { segments: convertSegments(argument.segments), tracks: argument.tracks, workflows: argument.workflow } + { + segments: convertSegments(argument.segments), + tracks: argument.tracks, + subtitles: argument.subtitles, + workflows: argument.workflow + } ) return response }) diff --git a/src/redux/workflowPostSlice.ts b/src/redux/workflowPostSlice.ts index 70c86f5b4..9dea8ba04 100644 --- a/src/redux/workflowPostSlice.ts +++ b/src/redux/workflowPostSlice.ts @@ -15,7 +15,11 @@ export const postVideoInformation = createAsyncThunk('video/postVideoInformation } const response = await client.post(`${settings.opencast.url}/editor/${settings.id}/edit.json`, - { segments: convertSegments(argument.segments), tracks: argument.tracks, subtitles: argument.subtitles } + { + segments: convertSegments(argument.segments), + tracks: argument.tracks, + subtitles: argument.subtitles + } ) return response })