Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 7d97170

Browse files
committed
fix types
1 parent 39ca492 commit 7d97170

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/api/threespeak/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const uploadVideoInfo = async (
5353
videoUrl: string,
5454
thumbnailUrl: string,
5555
username: string,
56-
duration: string
56+
duration: string | number
5757
) => {
5858
const token = await threespeakAuth(username);
5959
try {

src/common/api/threespeak/mutations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function useUploadVideoInfo() {
4545
videoUrl: string;
4646
thumbUrl: string;
4747
activeUser: string;
48-
duration: string;
48+
duration: string | number;
4949
}) => {
5050
try {
5151
return await uploadVideoInfo(fileName, fileSize, videoUrl, thumbUrl, activeUser, duration);

0 commit comments

Comments
 (0)