mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user