feat: add duplicate recording api
This commit is contained in:
@@ -35,6 +35,7 @@ export const updateRecording = async (id: string, data: { name?: string; limit?:
|
||||
|
||||
export const duplicateRecording = async (id: string, targetUrl: string): Promise<any> => {
|
||||
try {
|
||||
console.log("duplicating");
|
||||
const response = await axios.post(`${apiUrl}/storage/recordings/${id}/duplicate`, {
|
||||
targetUrl,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user