Skip to content

Commit 8b38561

Browse files
committed
fix auth node compute
1 parent f214145 commit 8b38561

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/flowtest-cli/graph/compute/authnode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class authNode extends Node {
2323
username,
2424
password,
2525
};
26-
} else if (this.auth.type === 'no-auth') {
26+
} else if (this.nodeData.type === 'no-auth') {
2727
console.log(chalk.green(` ✓ `) + chalk.dim('.....using no authentication'));
2828
this.logger.add(LogLevel.INFO, '', { type: 'authNode', data: { authType: 'No Authentication' } });
2929
return {

src/components/molecules/flow/graph/compute/authnode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class authNode extends Node {
2121
username,
2222
password,
2323
};
24-
} else if (this.auth.type === 'no-auth') {
24+
} else if (this.nodeData.type === 'no-auth') {
2525
this.logger.add(LogLevel.INFO, '', { type: 'authNode', data: { authType: 'No Authentication' } });
2626
return {
2727
type: 'no-auth',

0 commit comments

Comments
 (0)