Skip to content

Commit 1c5e395

Browse files
committed
fix download action
1 parent e37e283 commit 1c5e395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/actions/videos/download.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export async function downloadVideo(videoId: Video.VideoId) {
3939
const [bucket] = yield* S3Buckets.getBucketAccess(
4040
Option.fromNullable(video.bucket),
4141
);
42-
yield* bucket.getSignedObjectUrl(videoKey);
42+
return yield* bucket.getSignedObjectUrl(videoKey);
4343
}).pipe(runPromise);
4444

4545
return {

0 commit comments

Comments
 (0)