mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix envar name
This commit is contained in:
parent
9566c17db3
commit
7177279951
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ export class RealisticTextToSpeech implements TextToSpeech {
|
|||
): Promise<TextToSpeechOutput> => {
|
||||
const voiceId = process.env.REALISTIC_VOICE_ID
|
||||
const apiKey = process.env.REALISTIC_VOICE_API_KEY
|
||||
const apiEndpoint = process.env.REALISTIC_API_ENDPOINT
|
||||
const apiEndpoint = process.env.REALISTIC_VOICE_API_ENDPOINT
|
||||
|
||||
if (!apiEndpoint || !apiKey || !voiceId) {
|
||||
throw new Error('API credentials not set')
|
||||
|
|
|
|||
Loading…
Reference in a new issue