feat: modify api endpoint

This commit is contained in:
Rohit
2025-06-03 18:43:46 +05:30
parent 7117c93f78
commit 50937eaa8d

View File

@@ -161,7 +161,7 @@ export interface CreateRunResponseWithQueue extends CreateRunResponse {
export const createAndRunRecording = async (id: string, settings: RunSettings): Promise<CreateRunResponseWithQueue> => {
try {
const response = await axios.put(
`${apiUrl}/robot/runs/${id}`,
`${apiUrl}/storage/runs/${id}`,
{ ...settings, withCredentials: true }
);
if (response.status === 200) {