ci: Fix linting issues (no-changelog) (#6788)
* ci: Fix linting (no-changelog) * lintfix for nodes-base as well
This commit is contained in:
committed by
GitHub
parent
4e491b754f
commit
6fb8a9ee39
@@ -169,8 +169,7 @@ workflowsController.get(
|
||||
|
||||
// Do a very basic check if it is really a n8n-workflow-json
|
||||
if (
|
||||
workflowData === undefined ||
|
||||
workflowData.nodes === undefined ||
|
||||
workflowData?.nodes === undefined ||
|
||||
!Array.isArray(workflowData.nodes) ||
|
||||
workflowData.connections === undefined ||
|
||||
typeof workflowData.connections !== 'object' ||
|
||||
|
||||
Reference in New Issue
Block a user