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,
|
||||
@@ -121,7 +122,6 @@ export class CalTrigger implements INodeType {
|
||||
},
|
||||
};
|
||||
|
||||
// @ts-ignore (because of request)
|
||||
webhookMethods = {
|
||||
default: {
|
||||
async checkExists(this: IHookFunctions): Promise<boolean> {
|
||||
@@ -196,9 +196,9 @@ export class CalTrigger implements INodeType {
|
||||
return {
|
||||
workflowData: [
|
||||
this.helpers.returnJsonArray({
|
||||
triggerEvent: req.body.triggerEvent,
|
||||
createdAt: req.body.createdAt,
|
||||
...req.body.payload,
|
||||
triggerEvent: req.body.triggerEvent as string,
|
||||
createdAt: req.body.createdAt as string,
|
||||
...(req.body.payload as IDataObject),
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user