remove double replace application call

This commit is contained in:
akirilyuk
2022-02-01 18:39:45 +01:00
parent b41c1ffb91
commit c88ead7f71

View File

@@ -283,11 +283,6 @@ class Cognigy extends Task {
this.performAction({cognigyResult: 'hangup Succeeded'});
this.reportedFinalAction = true;
cs.replaceApplication([this._makeHangupTask(evt.data.reason)]);
cs.replaceApplication([{hangup: {
headers: {
'X-Reason': evt.data.reason
}
}}]);
this.taskQueue.end();
});