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: {
|
typeOptions: {
|
||||||
alwaysOpenEditWindow: true,
|
alwaysOpenEditWindow: true,
|
||||||
rows: 4,
|
rows: 4,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -165,7 +165,7 @@ export class CalTrigger implements INodeType {
|
|||||||
subscriberUrl,
|
subscriberUrl,
|
||||||
eventTriggers,
|
eventTriggers,
|
||||||
active,
|
active,
|
||||||
...options as object
|
...options as object,
|
||||||
};
|
};
|
||||||
|
|
||||||
const responseData = await calApiRequest.call(this, 'POST', '/hooks', body);
|
const responseData = await calApiRequest.call(this, 'POST', '/hooks', body);
|
||||||
@@ -206,7 +206,7 @@ export class CalTrigger implements INodeType {
|
|||||||
this.helpers.returnJsonArray({
|
this.helpers.returnJsonArray({
|
||||||
triggerEvent: req.body.triggerEvent,
|
triggerEvent: req.body.triggerEvent,
|
||||||
createdAt: req.body.createdAt,
|
createdAt: req.body.createdAt,
|
||||||
...req.body.payload
|
...req.body.payload,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
IHttpRequestOptions,
|
|
||||||
IHttpRequestMethods,
|
|
||||||
IHookFunctions,
|
IHookFunctions,
|
||||||
|
IHttpRequestMethods,
|
||||||
|
IHttpRequestOptions,
|
||||||
|
INodePropertyOptions,
|
||||||
IWebhookFunctions,
|
IWebhookFunctions,
|
||||||
NodeApiError,
|
NodeApiError,
|
||||||
INodePropertyOptions,
|
|
||||||
} from 'n8n-workflow';
|
} 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
|
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