bugfix: confirmHook

This commit is contained in:
Dave Horton
2022-04-03 22:04:24 -04:00
parent cf2100f925
commit f72e8e654c

View File

@@ -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) => {