mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix issue that when test webhook got called to fast it was not
available yet
This commit is contained in:
@@ -131,13 +131,13 @@ export class TestWebhooks {
|
|||||||
|
|
||||||
let key: string;
|
let key: string;
|
||||||
for (const webhookData of webhooks) {
|
for (const webhookData of webhooks) {
|
||||||
await this.activeWebhooks!.add(webhookData, mode);
|
|
||||||
key = this.activeWebhooks!.getWebhookKey(webhookData.httpMethod, webhookData.path);
|
key = this.activeWebhooks!.getWebhookKey(webhookData.httpMethod, webhookData.path);
|
||||||
this.testWebhookData[key] = {
|
this.testWebhookData[key] = {
|
||||||
sessionId,
|
sessionId,
|
||||||
timeout,
|
timeout,
|
||||||
workflowData,
|
workflowData,
|
||||||
};
|
};
|
||||||
|
await this.activeWebhooks!.add(webhookData, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user