Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillatrev committed Jan 3, 2024
1 parent e93cf13 commit 4df9238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export class RevAiApiClient {
async getTranslatedCaptions(id: string,
language: string,
contentType?: string): Promise<Readable> {
let url = `/jobs/${id}/captions/translation/${language}`;
const url = `/jobs/${id}/captions/translation/${language}`;
return await this.apiHandler.makeApiRequest<Readable>(
'get', url, { 'Accept': contentType || CaptionType.SRT }, 'stream');
}
Expand Down

0 comments on commit 4df9238

Please sign in to comment.