mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Make execution IDs mandatory in BE (#8299)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
@@ -78,7 +78,7 @@ export class WaitingWebhooks implements IWebhookManager {
|
||||
const { workflowData } = execution;
|
||||
|
||||
const workflow = new Workflow({
|
||||
id: workflowData.id!,
|
||||
id: workflowData.id,
|
||||
name: workflowData.name,
|
||||
nodes: workflowData.nodes,
|
||||
connections: workflowData.connections,
|
||||
@@ -90,7 +90,7 @@ export class WaitingWebhooks implements IWebhookManager {
|
||||
|
||||
let workflowOwner;
|
||||
try {
|
||||
workflowOwner = await this.ownershipService.getWorkflowOwnerCached(workflowData.id!);
|
||||
workflowOwner = await this.ownershipService.getWorkflowOwnerCached(workflowData.id);
|
||||
} catch (error) {
|
||||
throw new NotFoundError('Could not find workflow');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user