diff --git a/src/common/api/threespeak/api.ts b/src/common/api/threespeak/api.ts index 571e99e82ad..502c6e4e89d 100644 --- a/src/common/api/threespeak/api.ts +++ b/src/common/api/threespeak/api.ts @@ -53,7 +53,7 @@ export const uploadVideoInfo = async ( videoUrl: string, thumbnailUrl: string, username: string, - duration: string + duration: string | number ) => { const token = await threespeakAuth(username); try { diff --git a/src/common/api/threespeak/mutations.ts b/src/common/api/threespeak/mutations.ts index 1f626e21746..b2f375bff43 100644 --- a/src/common/api/threespeak/mutations.ts +++ b/src/common/api/threespeak/mutations.ts @@ -45,7 +45,7 @@ export function useUploadVideoInfo() { videoUrl: string; thumbUrl: string; activeUser: string; - duration: string; + duration: string | number; }) => { try { return await uploadVideoInfo(fileName, fileSize, videoUrl, thumbUrl, activeUser, duration);