We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c2d3e9 commit 0c83de3Copy full SHA for 0c83de3
apps/web/actions/videos/edit-transcript.ts
@@ -53,10 +53,11 @@ export async function editTranscriptEntry(
53
}
54
55
const [S3ProviderLayer] = await Effect.gen(function* () {
56
- const s3Buckets = yield* S3Buckets;
57
- return yield* s3Buckets.getProviderForBucket(Option.none());
+ const buckets = yield* S3Buckets;
+ return yield* buckets.getProviderForBucket(
58
+ Option.fromNullable(result.bucket?.id),
59
+ );
60
}).pipe(runPromise);
-
61
try {
62
const transcriptKey = `${video.ownerId}/${videoId}/transcription.vtt`;
63
0 commit comments