Send request of HTTP Request node to browser console when testing

This commit is contained in:
Jan Oberhauser
2021-06-12 20:22:55 +02:00
parent 21633b0c5a
commit 1d850da9fb
5 changed files with 17 additions and 5 deletions

View File

@@ -137,7 +137,7 @@ export class WorkflowRunnerProcess {
const additionalData = await WorkflowExecuteAdditionalData.getBase(this.data.credentials, undefined, workflowTimeout <= 0 ? undefined : Date.now() + workflowTimeout * 1000);
additionalData.hooks = this.getProcessForwardHooks();
additionalData.sendMessageToUI = async (source: string, message: string) => {
additionalData.sendMessageToUI = async (source: string, message: any) => { // tslint:disable-line:no-any
if (workflowRunner.data!.executionMode !== 'manual') {
return;
}