diff --git a/src/nomalab.ts b/src/nomalab.ts index 2ee3a6e..1242518 100644 --- a/src/nomalab.ts +++ b/src/nomalab.ts @@ -375,7 +375,7 @@ export class Nomalab { return response.blob() as Promise; } - async getSubtitleFormatsList(): Promise { + async getSubtitleFormatsList(): Promise { const response = await this.#fetch(`subtitleFormats`, {}); if (!response.ok) { this.#throwError( @@ -383,7 +383,7 @@ export class Nomalab { response, ); } - return response.json() as Promise; + return response.json() as Promise; } #throwError(message: string, response: Response): void {