fix: use ScheduleSettings as type

This commit is contained in:
karishmas6
2024-09-13 00:04:49 +05:30
parent 06ffb8c513
commit 0c09eff023

View File

@@ -118,7 +118,7 @@ export const notifyAboutAbort = async (fileName: string, runId:string): Promise<
}
}
export const scheduleStoredRecording = async (fileName: string, settings: RunSettings): Promise<CreateRunResponse> => {
export const scheduleStoredRecording = async (fileName: string, settings: ScheduleSettings): Promise<CreateRunResponse> => {
try {
const response = await axios.put(
`http://localhost:8080/storage/schedule/${fileName}`,