ci: Fix linting issues on master (no-changelog) (#4768)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-30 12:16:19 +01:00
committed by GitHub
parent 528439cb4d
commit ada73ed41d
7 changed files with 147 additions and 142 deletions

View File

@@ -36,7 +36,6 @@ import {
INodeCredentialsDetails,
INodeExecutionData,
INodeParameters,
INodeType,
IOAuth2Options,
IPollFunctions,
IRunExecutionData,
@@ -1886,7 +1885,7 @@ export function getWebhookDescription(
workflow: Workflow,
node: INode,
): IWebhookDescription | undefined {
const nodeType = workflow.nodeTypes.getByNameAndVersion(node.type, node.typeVersion) as INodeType;
const nodeType = workflow.nodeTypes.getByNameAndVersion(node.type, node.typeVersion);
if (nodeType.description.webhooks === undefined) {
// Node does not have any webhooks so return