Add missing case

This commit is contained in:
Charlie Kolb 2024-11-29 11:28:22 +01:00
parent 1bb9238576
commit a8f21fd671
No known key found for this signature in database

View file

@ -137,6 +137,8 @@ export class FlowTrigger implements INodeType {
if (resource === 'task') {
resourceIds = (this.getNodeParameter('taskIds') as string).split(',');
}
// @Cleanup: Define resourceIds as an empty array instead
// @ts-expect-error resourceIds are set for either case
for (const resourceId of resourceIds) {
body = {
organization_id: credentials.organizationId as number,