mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
👕 Fix lint issue
This commit is contained in:
parent
55c67d8a20
commit
012818b804
|
@ -315,7 +315,7 @@ export class RabbitMQ implements INodeType {
|
|||
|
||||
let headers: IDataObject = {};
|
||||
if (options.headers && ((options.headers as IDataObject).header! as IDataObject[]).length) {
|
||||
let itemOptions = this.getNodeParameter('options', i, {}) as IDataObject;
|
||||
const itemOptions = this.getNodeParameter('options', i, {}) as IDataObject;
|
||||
const additionalHeaders: IDataObject = {};
|
||||
((itemOptions.headers as IDataObject).header as IDataObject[]).forEach((header: IDataObject) => {
|
||||
additionalHeaders[header.key as string] = header.value;
|
||||
|
@ -379,7 +379,7 @@ export class RabbitMQ implements INodeType {
|
|||
|
||||
let headers: IDataObject = {};
|
||||
if (options.headers && ((options.headers as IDataObject).header! as IDataObject[]).length) {
|
||||
let itemOptions = this.getNodeParameter('options', i, {}) as IDataObject;
|
||||
const itemOptions = this.getNodeParameter('options', i, {}) as IDataObject;
|
||||
const additionalHeaders: IDataObject = {};
|
||||
((itemOptions.headers as IDataObject).header as IDataObject[]).forEach((header: IDataObject) => {
|
||||
additionalHeaders[header.key as string] = header.value;
|
||||
|
|
Loading…
Reference in a new issue