🔀 Merge branch 'master' of https://github.com/guilhermeagirardi/n8n into guilhermeagirardi-master

This commit is contained in:
Jan Oberhauser
2020-02-11 20:44:46 -08:00
12 changed files with 263 additions and 35 deletions

View File

@@ -205,8 +205,6 @@ export class TestWebhooks {
let workflow: Workflow;
const workflows: Workflow[] = [];
for (const webhookKey of Object.keys(this.testWebhookData)) {
console.log('webhookKey: ' + webhookKey);
workflowData = this.testWebhookData[webhookKey].workflowData;
workflow = new Workflow(workflowData.id.toString(), workflowData.nodes, workflowData.connections, workflowData.active, nodeTypes, workflowData.staticData, workflowData.settings);
workflows.push();
@@ -214,11 +212,8 @@ export class TestWebhooks {
return this.activeWebhooks.removeAll(workflows);
}
}
let testWebhooksInstance: TestWebhooks | undefined;
export function getInstance(): TestWebhooks {