mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
👕 Fix lint issue
This commit is contained in:
parent
805c89be17
commit
ee5fc281d1
|
@ -40,7 +40,7 @@ export class PushbulletOAuth2Api implements ICredentialType {
|
||||||
displayName: 'Authentication',
|
displayName: 'Authentication',
|
||||||
name: 'authentication',
|
name: 'authentication',
|
||||||
type: 'hidden' as NodePropertyTypes,
|
type: 'hidden' as NodePropertyTypes,
|
||||||
default: 'body'
|
default: 'body',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ export async function pushbulletApiRequest(this: IExecuteFunctions | ILoadOption
|
||||||
|
|
||||||
// Try to return the error prettier
|
// Try to return the error prettier
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Pushbullet error response [${error.statusCode}]: ${message}`
|
`Pushbullet error response [${error.statusCode}]: ${message}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
throw error;
|
throw error;
|
||||||
|
|
|
@ -525,7 +525,7 @@ export class Pushbullet implements INodeType {
|
||||||
value: Buffer.from(binaryData.data, BINARY_ENCODING),
|
value: Buffer.from(binaryData.data, BINARY_ENCODING),
|
||||||
options: {
|
options: {
|
||||||
filename: binaryData.fileName,
|
filename: binaryData.fileName,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
json: false,
|
json: false,
|
||||||
|
@ -591,7 +591,7 @@ export class Pushbullet implements INodeType {
|
||||||
`/pushes/${pushId}`,
|
`/pushes/${pushId}`,
|
||||||
{
|
{
|
||||||
dismissed,
|
dismissed,
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue