mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
👕 Fix lint issue
This commit is contained in:
parent
18313e1199
commit
c2d80d6d70
|
@ -42,7 +42,7 @@ export async function pushcutApiRequest(this: IExecuteFunctions | ILoadOptionsFu
|
|||
|
||||
// Try to return the error prettier
|
||||
throw new Error(
|
||||
`Pushcut error response [${error.statusCode}]: ${message}`
|
||||
`Pushcut error response [${error.statusCode}]: ${message}`,
|
||||
);
|
||||
}
|
||||
throw error;
|
||||
|
|
|
@ -48,7 +48,7 @@ export class Pushcut implements INodeType {
|
|||
},
|
||||
],
|
||||
default: 'notification',
|
||||
description: 'The resource to operate on.'
|
||||
description: 'The resource to operate on.',
|
||||
},
|
||||
{
|
||||
displayName: 'Operation',
|
||||
|
@ -69,7 +69,7 @@ export class Pushcut implements INodeType {
|
|||
},
|
||||
],
|
||||
default: 'send',
|
||||
description: 'The resource to operate on.'
|
||||
description: 'The resource to operate on.',
|
||||
},
|
||||
{
|
||||
displayName: 'Notification Name',
|
||||
|
|
|
@ -84,7 +84,7 @@ export class PushcutTrigger implements INodeType {
|
|||
|
||||
const body = {
|
||||
actionName,
|
||||
url: webhookUrl
|
||||
url: webhookUrl,
|
||||
};
|
||||
|
||||
const responseData = await pushcutApiRequest.call(this, 'POST', endpoint, body);
|
||||
|
@ -123,7 +123,7 @@ export class PushcutTrigger implements INodeType {
|
|||
|
||||
return {
|
||||
workflowData: [
|
||||
this.helpers.returnJsonArray(body)
|
||||
this.helpers.returnJsonArray(body),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue