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:
@@ -103,8 +103,8 @@ export class CalTrigger implements INodeType {
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
rows: 4,
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
@@ -165,7 +165,7 @@ export class CalTrigger implements INodeType {
|
||||
subscriberUrl,
|
||||
eventTriggers,
|
||||
active,
|
||||
...options as object
|
||||
...options as object,
|
||||
};
|
||||
|
||||
const responseData = await calApiRequest.call(this, 'POST', '/hooks', body);
|
||||
@@ -206,7 +206,7 @@ export class CalTrigger implements INodeType {
|
||||
this.helpers.returnJsonArray({
|
||||
triggerEvent: req.body.triggerEvent,
|
||||
createdAt: req.body.createdAt,
|
||||
...req.body.payload
|
||||
...req.body.payload,
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
@@ -5,12 +5,12 @@ import {
|
||||
|
||||
import {
|
||||
IDataObject,
|
||||
IHttpRequestOptions,
|
||||
IHttpRequestMethods,
|
||||
IHookFunctions,
|
||||
IHttpRequestMethods,
|
||||
IHttpRequestOptions,
|
||||
INodePropertyOptions,
|
||||
IWebhookFunctions,
|
||||
NodeApiError,
|
||||
INodePropertyOptions,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export async function calApiRequest(this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, resource: string, body: any = {}, query: IDataObject = {}, option: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any
|
||||
|
||||
Reference in New Issue
Block a user