refactor: Make execution IDs mandatory in BE (#8299)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
Omar Ajoue
2024-01-16 09:53:17 +00:00
committed by GitHub
parent 0f4f472a72
commit e1acb5911a
16 changed files with 136 additions and 136 deletions

View File

@@ -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');
}