Fixed bug where webhook URL sometimes is undefined

This commit is contained in:
frikky
2022-03-18 18:27:13 +01:00
parent 10128c65e7
commit 2156ccf26c
+1 -1
View File
@@ -2583,7 +2583,7 @@ const AngularWorkflow = (defaultprops) => {
if (workflow.triggers[trigger_index].parameters !== undefined) { if (workflow.triggers[trigger_index].parameters !== undefined) {
workflow.triggers[trigger_index].parameters[0] = { workflow.triggers[trigger_index].parameters[0] = {
name: "url", name: "url",
value: referenceUrl + "webhook_" + selectedTrigger.id, value: referenceUrl + "webhook_" + workflow.triggers[trigger_index].id,
}; };
} }
} }