👕 Fix lint issue
This commit is contained in:
@@ -26,7 +26,7 @@ export async function mandrillApiRequest(this: IExecuteFunctions | IHookFunction
|
||||
method,
|
||||
uri: `https://${endpoint}${resource}${action}.json`,
|
||||
body: data,
|
||||
json: true
|
||||
json: true,
|
||||
};
|
||||
|
||||
|
||||
@@ -56,13 +56,13 @@ export function getToEmailArray(toEmail: string): any { // tslint:disable-line:n
|
||||
toEmailArray = _.map(array, (email) => {
|
||||
return {
|
||||
email,
|
||||
type: 'to'
|
||||
type: 'to',
|
||||
};
|
||||
});
|
||||
} else {
|
||||
toEmailArray = [{
|
||||
email: toEmail,
|
||||
type: 'to'
|
||||
type: 'to',
|
||||
}];
|
||||
}
|
||||
return toEmailArray;
|
||||
|
||||
@@ -114,7 +114,7 @@ export class Mandrill implements INodeType {
|
||||
{
|
||||
name: 'mandrillApi',
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
],
|
||||
properties: [
|
||||
{
|
||||
@@ -221,7 +221,7 @@ export class Mandrill implements INodeType {
|
||||
operation: [
|
||||
'sendHtml',
|
||||
'sendTemplate',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -647,9 +647,9 @@ export class Mandrill implements INodeType {
|
||||
displayOptions: {
|
||||
show: {
|
||||
jsonParameters: [
|
||||
true
|
||||
]
|
||||
}
|
||||
true,
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
@@ -692,7 +692,7 @@ export class Mandrill implements INodeType {
|
||||
description: '',
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
],
|
||||
description: 'Optional extra headers to add to the message (most headers are allowed).',
|
||||
},
|
||||
@@ -722,7 +722,7 @@ export class Mandrill implements INodeType {
|
||||
}
|
||||
|
||||
return returnData;
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user