fix: use ScheduleSettings as type
This commit is contained in:
@@ -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 {
|
try {
|
||||||
const response = await axios.put(
|
const response = await axios.put(
|
||||||
`http://localhost:8080/storage/schedule/${fileName}`,
|
`http://localhost:8080/storage/schedule/${fileName}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user