mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -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') {
|
if (operation === 'information') {
|
||||||
// Just return the information
|
// Just return the information
|
||||||
const imageData = await new Promise<IDataObject>((resolve, reject) => {
|
const imageData = await new Promise<IDataObject>((resolve, reject) => {
|
||||||
gmInstance = gmInstance.identify((error:any, imageData:any) => {
|
gmInstance = gmInstance.identify((error, imageData) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
reject(error);
|
reject(error);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -157,7 +157,7 @@ export class EmailSend implements INodeType {
|
||||||
secure: credentials.secure as boolean,
|
secure: credentials.secure as boolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
if(credentials.user || credentials.password) {
|
if (credentials.user || credentials.password) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
connectionOptions.auth = {
|
connectionOptions.auth = {
|
||||||
user: credentials.user as string,
|
user: credentials.user as string,
|
||||||
|
|
|
@ -188,6 +188,6 @@ export class Mailgun implements INodeType {
|
||||||
json: responseData,
|
json: responseData,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return this.prepareOutputData(returnData)
|
return this.prepareOutputData(returnData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue