diff --git a/packages/nodes-base/nodes/Github/Github.node.ts b/packages/nodes-base/nodes/Github/Github.node.ts index 54187dfff0..2bba948c2c 100644 --- a/packages/nodes-base/nodes/Github/Github.node.ts +++ b/packages/nodes-base/nodes/Github/Github.node.ts @@ -119,34 +119,32 @@ export class Github implements INodeType { default: 'issue', }, - - // ---------------------------------- // operations // ---------------------------------- - { + { displayName: 'Operation', name: 'operation', type: 'options', + noDataExpression: true, displayOptions: { - show: { - resource: [ - 'organization', - ], + show: { + resource: [ + 'organization', + ], - }, + }, }, options: [ - { - name: 'Get all Repositories', - value: 'getRepositories', - description: 'Returns all repositories of an organization', - }, + { + name: 'Get all Repositories', + value: 'getRepositories', + description: 'Returns all repositories of an organization', + }, ], default: 'getRepositories', - description: 'The operation to perform.', - }, + }, { displayName: 'Operation',