👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2020-12-12 17:35:35 +01:00
parent 18313e1199
commit c2d80d6d70
3 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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',

View file

@ -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),
],
};
}