Skip to content

Commit

Permalink
🐛 fix: Fix api props
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Nov 16, 2023
1 parent 0dc44eb commit 8740b6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/EdgeSpeechTTS/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ import { getEdgeVoiceOptions } from './options';
export type { EdgeSpeechPayload } from './createEdgeSpeech';

export interface EdgeSpeechAPI {
backendURL?: string;
backendUrl?: string;
}

export class EdgeSpeechTTS {
private locale?: string;
private BACKEND_URL: string | undefined;

constructor({ backendURL, locale }: EdgeSpeechAPI & { locale?: string } = {}) {
constructor({ backendUrl, locale }: EdgeSpeechAPI & { locale?: string } = {}) {
this.locale = locale;
this.BACKEND_URL = backendURL;
this.BACKEND_URL = backendUrl;
}

get voiceOptions() {
Expand Down

0 comments on commit 8740b6d

Please sign in to comment.