Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Joffcom committed Oct 12, 2022
1 parent 6f0705e commit 4f45991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nodes-base/nodes/Kafka/Kafka.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class Kafka implements INodeType {
description: 'URL of the schema registry',
},
{
displayName: 'Use key',
displayName: 'Use Key',
name: 'useKey',
type: 'boolean',
default: false,
Expand Down Expand Up @@ -354,7 +354,7 @@ export class Kafka implements INodeType {

const useKey = this.getNodeParameter('useKey', i) as boolean;

const key = useKey ? this.getNodeParameter('key', i) as string : null;
const key = useKey ? (this.getNodeParameter('key', i) as string) : null;

let headers;

Expand Down

0 comments on commit 4f45991

Please sign in to comment.