mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
refactor: Run lintfix (no-changelog) (#7537)
- Fix autofixable violations - Remove unused directives - Allow for PascalCased variables - needed for dynamically imported or assigned classes, decorators, routers, etc.
This commit is contained in:
@@ -243,7 +243,7 @@ export class BrevoTrigger implements INodeType {
|
||||
|
||||
const responseData = await BrevoWebhookApi.createWebHook(this, type, events, webhookUrl);
|
||||
|
||||
if (responseData === undefined || responseData.id === undefined) {
|
||||
if (responseData?.id === undefined) {
|
||||
// Required data is missing so was not successful
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user