mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { IHookFunctions, IWebhookFunctions } from 'n8n-core';
|
||||
|
||||
import type {
|
||||
IDataObject,
|
||||
ILoadOptionsFunctions,
|
||||
INodePropertyOptions,
|
||||
INodeType,
|
||||
@@ -139,7 +140,7 @@ export class FormIoTrigger implements INodeType {
|
||||
if (
|
||||
action.settings.url === webhookUrl &&
|
||||
action.method.length === method.length &&
|
||||
action.method.every((value: any) => method.includes(value))
|
||||
action.method.every((value: any) => method.includes(value as string))
|
||||
) {
|
||||
webhookData.webhookId = action._id;
|
||||
return true;
|
||||
@@ -205,7 +206,7 @@ export class FormIoTrigger implements INodeType {
|
||||
response = response.data;
|
||||
}
|
||||
return {
|
||||
workflowData: [this.helpers.returnJsonArray(response)],
|
||||
workflowData: [this.helpers.returnJsonArray(response as IDataObject[])],
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user