Fix/env vars rest dial (#1225)

* rest dial needs to support env vars

* wip
This commit is contained in:
Dave Horton
2025-05-30 10:14:44 -04:00
committed by GitHub
parent e975511df5
commit 8e9ab83ca4
3 changed files with 12 additions and 3 deletions

View File

@@ -77,6 +77,7 @@ class TaskRestDial extends Task {
const httpHeaders = b3 && {b3};
const params = {
...(cs.callInfo.toJSON()),
...(this.env_vars && {env_vars: this.env_vars}),
defaults: {
synthesizer: {
vendor: cs.speechSynthesisVendor,