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:
@@ -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),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user