mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
bugfix: confirmHook
This commit is contained in:
@@ -309,7 +309,7 @@ class SingleDialer extends Emitter {
|
|||||||
async _executeApp(confirmHook) {
|
async _executeApp(confirmHook) {
|
||||||
try {
|
try {
|
||||||
// retrieve set of tasks
|
// retrieve set of tasks
|
||||||
const tasks = await this.requestor.request(confirmHook, this.callInfo.toJSON());
|
const tasks = await this.requestor.request('confirmHook', confirmHook, this.callInfo.toJSON());
|
||||||
|
|
||||||
// verify it contains only allowed verbs
|
// verify it contains only allowed verbs
|
||||||
const allowedTasks = tasks.filter((task) => {
|
const allowedTasks = tasks.filter((task) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user