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

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
feruzm committed May 7, 2024
1 parent 39ca492 commit 7d97170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/api/threespeak/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/common/api/threespeak/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7d97170

Please sign in to comment.