We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75251fa commit 37ff9e8Copy full SHA for 37ff9e8
src/api/upload.ts
@@ -50,5 +50,6 @@ export const uploadSegments = async (routeName: string, segmentStart: number, se
50
const paths = generateMissingFilePaths(routeInfo, segmentStart, segmentEnd, alreadyUploadedFiles, types)
51
const pathPresignedUrls = await requestToUploadFiles(routeInfo.dongleId, paths)
52
const athenaRequests = prepareUploadRequests(paths, pathPresignedUrls)
53
+ if (athenaRequests.length === 0) return []
54
return await uploadFilesToUrls(routeInfo.dongleId, athenaRequests)
55
}
0 commit comments