mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Lint for no unneeded backticks (#5057) (no-changelog)
* ✨ Create rule `no-unneeded-backticks` * 👕 Enable rule * ⚡ Run rule on `cli` * ⚡ Run rule on `core` * ⚡ Run rule on `workflow` * ⚡ Rule rule on `design-system` * ⚡ Run rule on `node-dev` * ⚡ Run rule on `editor-ui` * ⚡ Run rule on `nodes-base`
This commit is contained in:
@@ -136,7 +136,7 @@ export class Mailjet implements INodeType {
|
||||
if (parsedJson === undefined) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
`Parameter 'Variables (JSON)' has a invalid JSON`,
|
||||
"Parameter 'Variables (JSON)' has a invalid JSON",
|
||||
{ itemIndex: i },
|
||||
);
|
||||
}
|
||||
@@ -231,7 +231,7 @@ export class Mailjet implements INodeType {
|
||||
if (parsedJson === undefined) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
`Parameter 'Variables (JSON)' has a invalid JSON`,
|
||||
"Parameter 'Variables (JSON)' has a invalid JSON",
|
||||
{ itemIndex: i },
|
||||
);
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ export class MailjetTrigger implements INodeType {
|
||||
webhookMethods = {
|
||||
default: {
|
||||
async checkExists(this: IHookFunctions): Promise<boolean> {
|
||||
const endpoint = `/v3/rest/eventcallbackurl`;
|
||||
const endpoint = '/v3/rest/eventcallbackurl';
|
||||
const responseData = await mailjetApiRequest.call(this, 'GET', endpoint);
|
||||
|
||||
const event = this.getNodeParameter('event') as string;
|
||||
|
||||
Reference in New Issue
Block a user