bugfix: confirmHook

This commit is contained in:
Dave Horton committed 2022-04-03 22:04:24 -04:00
1 parent cf2100f925
commit f72e8e654c
1 file changed
+1 -1
+1 -1
View File
@@ -309,7 +309,7 @@ class SingleDialer extends Emitter {
async _executeApp(confirmHook) {
try {
// 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
const allowedTasks = tasks.filter((task) => {