👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

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