mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -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 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;
|
||||
const headerParameters = (parameter || []).reduce((result, item) => ({
|
||||
...result,
|
||||
|
|
Loading…
Reference in a new issue