diff --git a/src/api/storage.ts b/src/api/storage.ts index 0bfcaf15..e3359563 100644 --- a/src/api/storage.ts +++ b/src/api/storage.ts @@ -28,7 +28,7 @@ export const getStoredRecordings = async (): Promise => { } }; -export const updateRecording = async (id: string, data: { name?: string; limit?: number, credentials?: Credentials }): Promise => { +export const updateRecording = async (id: string, data: { name?: string; limit?: number, credentials?: Credentials, targetUrl?: string }): Promise => { try { const response = await axios.put(`${apiUrl}/storage/recordings/${id}`, data); if (response.status === 200) {