mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
👕 Fix lint issue
This commit is contained in:
parent
6bdc7c1f7a
commit
6f70bacdb0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue