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