fix(upload): update clip_video endpoint to V3 action path

The legacy /hosted_file/{id}/clip_video route was decommissioned with the
rest of the hosted_file router. Updated to /v3/action/hosted_file/{id}/clip_video.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-03-25 12:30:23 -04:00
parent a5a806e256
commit 362136e677

View File

@@ -126,7 +126,7 @@ function handle_clip_video(event: Event) {
$ae_loc.files.processed_file_kv[hosted_file_id].new_filename = new_filename;
$ae_loc.files.processed_file_kv[hosted_file_id].clip_complete = false;
let endpoint = `/hosted_file/${hosted_file_id}/clip_video`;
let endpoint = `/v3/action/hosted_file/${hosted_file_id}/clip_video`;
let params = {
link_to_type: link_to_type,