mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-07-25 15:03:31 +00:00
chore: Change the endpoint to save_trim
This commit is contained in:
@ -49,7 +49,7 @@ export const autoSaveVideo = async (
|
||||
data: AutoSaveRequest
|
||||
): Promise<AutoSaveResponse> => {
|
||||
try {
|
||||
const response = await fetch(`/api/v1/media/${mediaId}/auto_save`, {
|
||||
const response = await fetch(`/api/v1/media/${mediaId}/save_trim`, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify(data)
|
||||
|
Reference in New Issue
Block a user