diff --git a/src/api/storage.ts b/src/api/storage.ts index 05ff2cb6..01322851 100644 --- a/src/api/storage.ts +++ b/src/api/storage.ts @@ -118,7 +118,7 @@ export const notifyAboutAbort = async (fileName: string, runId:string): Promise< } } -export const scheduleStoredRecording = async (fileName: string, settings: RunSettings): Promise => { +export const scheduleStoredRecording = async (fileName: string, settings: ScheduleSettings): Promise => { try { const response = await axios.put( `http://localhost:8080/storage/schedule/${fileName}`,