🐛 Fix issue that changed static data in webhook function did not get

saved
This commit is contained in:
Jan Oberhauser 2020-06-20 12:28:56 +02:00
parent d9906e1b24
commit 5db2ce2924

View file

@ -149,6 +149,9 @@ export function getWorkflowWebhooks(workflow: Workflow, additionalData: IWorkflo
};
}
// Save static data if it changed
await WorkflowHelpers.saveStaticData(workflow);
if (webhookData.webhookDescription['responseHeaders'] !== undefined) {
const responseHeaders = workflow.getComplexParameterValue(workflowStartNode, webhookData.webhookDescription['responseHeaders'], undefined) as {
entries?: Array<{