This commit is contained in:
Dave Horton
2022-02-21 20:06:15 -05:00
parent 1bac632a35
commit 6f7556981e

View File

@@ -421,7 +421,6 @@ class CallSession extends Emitter {
} }
} }
const [tasks1, tasks2] = await Promise.all(webhooks); const [tasks1, tasks2] = await Promise.all(webhooks);
let tasks, childTasks;
if (opts.call_hook) { if (opts.call_hook) {
tasks = tasks1; tasks = tasks1;
if (opts.child_call_hook) childTasks = tasks2; if (opts.child_call_hook) childTasks = tasks2;