mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Update rule typescript-eslint/no-unused-vars to not error when variable starts with _ (#4523)
* ⚡ rule and fixes * ⚡ clean up
This commit is contained in:
@@ -5,7 +5,6 @@ import {
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
NodeApiError,
|
||||
NodeOperationError,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class Mailgun implements INodeType {
|
||||
@@ -179,7 +178,11 @@ export class Mailgun implements INodeType {
|
||||
let responseData;
|
||||
|
||||
try {
|
||||
responseData = await this.helpers.requestWithAuthentication.call(this, 'mailgunApi', options);
|
||||
responseData = await this.helpers.requestWithAuthentication.call(
|
||||
this,
|
||||
'mailgunApi',
|
||||
options,
|
||||
);
|
||||
} catch (error) {
|
||||
throw new NodeApiError(this.getNode(), error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user