🐛 Fix issue with queue mode and missing wait-webhook data

This commit is contained in:
Jan Oberhauser 2021-12-11 19:24:09 +01:00
parent 0eab23dcd3
commit 4996939268

View file

@ -13,6 +13,7 @@ import {
} from 'n8n-workflow'; } from 'n8n-workflow';
import { ChildProcess } from 'child_process'; import { ChildProcess } from 'child_process';
import { stringify } from 'flatted';
// eslint-disable-next-line import/no-extraneous-dependencies // eslint-disable-next-line import/no-extraneous-dependencies
import * as PCancelable from 'p-cancelable'; import * as PCancelable from 'p-cancelable';
// eslint-disable-next-line import/no-cycle // eslint-disable-next-line import/no-cycle
@ -82,6 +83,7 @@ export class ActiveExecutions {
const execution = { const execution = {
id: executionId, id: executionId,
data: stringify(executionData.executionData!),
waitTill: null, waitTill: null,
}; };