Skip to content

Commit 063c77d

Browse files
chambougStarfallProjects
authored andcommitted
Update Custom Node Inputs/Outputs Syntax in Documentation (#3642)
Co-authored-by: Deborah Barnard <[email protected]>
1 parent 06d2784 commit 063c77d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/integrations/creating-nodes/build/programmatic-style-node.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ import {
9090
INodeExecutionData,
9191
INodeType,
9292
INodeTypeDescription,
93+
NodeConnectionType
9394
} from 'n8n-workflow';
9495

9596
import {
@@ -132,8 +133,8 @@ description: 'Consume SendGrid API',
132133
defaults: {
133134
name: 'FriendGrid',
134135
},
135-
inputs: ['main'],
136-
outputs: ['main'],
136+
inputs: [NodeConnectionType.Main],
137+
outputs: [NodeConnectionType.Main],
137138
credentials: [
138139
{
139140
name: 'friendGridApi',

0 commit comments

Comments
 (0)