mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
👕 Fix lint issue
This commit is contained in:
parent
94e3b696be
commit
df9047b2c8
|
@ -208,7 +208,7 @@ export class GraphQL implements INodeType {
|
||||||
const requestFormat = this.getNodeParameter('requestFormat', itemIndex, 'graphql') as string;
|
const requestFormat = this.getNodeParameter('requestFormat', itemIndex, 'graphql') as string;
|
||||||
const responseFormat = this.getNodeParameter('responseFormat', 0) as string;
|
const responseFormat = this.getNodeParameter('responseFormat', 0) as string;
|
||||||
|
|
||||||
const { parameter }: { parameter?: { name: string, value: string }[] } = this
|
const { parameter }: { parameter?: Array<{ name: string, value: string }> } = this
|
||||||
.getNodeParameter('headerParametersUi', itemIndex, {}) as IDataObject;
|
.getNodeParameter('headerParametersUi', itemIndex, {}) as IDataObject;
|
||||||
const headerParameters = (parameter || []).reduce((result, item) => ({
|
const headerParameters = (parameter || []).reduce((result, item) => ({
|
||||||
...result,
|
...result,
|
||||||
|
|
Loading…
Reference in a new issue