mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 03:43:50 +00:00
feat: allow renaming rundown
This commit is contained in:
committed by
Carlos Valente
parent
812b17a221
commit
74e59dccdb
@@ -45,6 +45,13 @@ export async function duplicateRundown(rundownId: RundownId): Promise<AxiosRespo
|
||||
return axios.post(`${rundownPath}/${rundownId}/duplicate`);
|
||||
}
|
||||
|
||||
/**
|
||||
* HTTP request to rename an existing rundown
|
||||
*/
|
||||
export async function renameRundown(rundownId: RundownId, title: string): Promise<AxiosResponse<ProjectRundownsList>> {
|
||||
return axios.patch(`${rundownPath}/${rundownId}`, { title });
|
||||
}
|
||||
|
||||
/**
|
||||
* HTTP request to delete a rundown
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user