update to use a endpoint that works

This commit is contained in:
dev committed 2024-01-18 12:12:46 -05:00
1 parent c3728cbeb1
commit 5bd46dc2a6
2 files changed
+5 -2

No files matched your search

@@ -27,7 +27,9 @@ export function UploadVideoIsError(response: UploadVideoResponse): response is U
export async function UploadVideo(request: UploadVideoRequest) : Promise<UploadVideoResponse>
{
const endpoint = new ApiConfig().uploadVideo();
//TODO: Upload Video Endpoint doesn't exist yet
const endpoint = new ApiConfig().uploadMedia();
//const endpoint = new ApiConfig().uploadVideo();
const formData = new FormData();
@@ -1,8 +1,9 @@
import React, {useState} from "react";
import { v4 as uuidv4 } from "uuid";
import { UploadVideo } from '@storyteller/components/src/api/upload/UploadVideo'
import { UploadVideo } from '@storyteller/components/src/api/upload/UploadVideo'
import { useFile } from "hooks";
import VideoInput from "v2/view/pages/video_mocap/components/VideoInput";
export default function TabContentUpload(props:{