Skip to content

Commit 1becebd

Browse files
committed
Actually pass the ignoreCache param, as the comment suggests
1 parent b417241 commit 1becebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/voteOnSponsorTime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async function updateSegmentVideoDuration(UUID: SegmentUUID) {
5959
let apiVideoDetails: videoDetails = null;
6060
if (service == Service.YouTube) {
6161
// don't use cache since we have no information about the video length
62-
apiVideoDetails = await getVideoDetails(videoID);
62+
apiVideoDetails = await getVideoDetails(videoID, true);
6363
}
6464
const apiVideoDuration = apiVideoDetails?.duration as VideoDuration;
6565
if (videoDurationChanged(videoDuration, apiVideoDuration)) {

0 commit comments

Comments
 (0)