From 0c09eff023c3ec54a088e0e02cd269794444f040 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 13 Sep 2024 00:04:49 +0530 Subject: [PATCH] fix: use ScheduleSettings as type --- src/api/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`,