mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
⚡ Cleanup & Fix lint issues
This commit is contained in:
parent
e48f555f07
commit
ca50194d71
|
@ -1069,7 +1069,7 @@ export class EditImage implements INodeType {
|
|||
if (operation === 'information') {
|
||||
// Just return the information
|
||||
const imageData = await new Promise<IDataObject>((resolve, reject) => {
|
||||
gmInstance = gmInstance.identify((error:any, imageData:any) => {
|
||||
gmInstance = gmInstance.identify((error, imageData) => {
|
||||
if (error) {
|
||||
reject(error);
|
||||
return;
|
||||
|
|
|
@ -157,7 +157,7 @@ export class EmailSend implements INodeType {
|
|||
secure: credentials.secure as boolean,
|
||||
};
|
||||
|
||||
if(credentials.user || credentials.password) {
|
||||
if (credentials.user || credentials.password) {
|
||||
// @ts-ignore
|
||||
connectionOptions.auth = {
|
||||
user: credentials.user as string,
|
||||
|
|
|
@ -188,6 +188,6 @@ export class Mailgun implements INodeType {
|
|||
json: responseData,
|
||||
});
|
||||
}
|
||||
return this.prepareOutputData(returnData)
|
||||
return this.prepareOutputData(returnData);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue