Skip to content

Commit fa81609

Browse files
committed
cleanup fireflies
1 parent f256a9f commit fa81609

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/sim/blocks/blocks/fireflies.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -620,9 +620,9 @@ export const FirefliesV2Block: BlockConfig<FirefliesResponse> = {
620620
}
621621

622622
if (params.operation === 'fireflies_upload_audio') {
623-
const audioFile =
624-
normalizeFileInput(params.audioFile, { single: true }) ||
625-
normalizeFileInput(params.audioFileReference, { single: true })
623+
const audioFile = normalizeFileInput(params.audioFile || params.audioFileReference, {
624+
single: true,
625+
})
626626
if (!audioFile) {
627627
throw new Error('Audio file is required.')
628628
}

0 commit comments

Comments
 (0)