feat: modify api endpoint
This commit is contained in:
@@ -161,7 +161,7 @@ export interface CreateRunResponseWithQueue extends CreateRunResponse {
|
|||||||
export const createAndRunRecording = async (id: string, settings: RunSettings): Promise<CreateRunResponseWithQueue> => {
|
export const createAndRunRecording = async (id: string, settings: RunSettings): Promise<CreateRunResponseWithQueue> => {
|
||||||
try {
|
try {
|
||||||
const response = await axios.put(
|
const response = await axios.put(
|
||||||
`${apiUrl}/robot/runs/${id}`,
|
`${apiUrl}/storage/runs/${id}`,
|
||||||
{ ...settings, withCredentials: true }
|
{ ...settings, withCredentials: true }
|
||||||
);
|
);
|
||||||
if (response.status === 200) {
|
if (response.status === 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user