Skip to content

Commit

Permalink
Prevent overriding job type for transcription
Browse files Browse the repository at this point in the history
  • Loading branch information
mnemitz committed Jan 29, 2024
1 parent e03c4c0 commit 23d49c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batch/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ export class BatchTranscription {
throw new Error('Error: apiKey is undefined');

const config = {
type: 'transcription',
...jobConfig,
type: 'transcription',
};

const formData = new FormData();
Expand Down

0 comments on commit 23d49c4

Please sign in to comment.