mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
Add missing case
This commit is contained in:
parent
1bb9238576
commit
a8f21fd671
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue