mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)
This commit is contained in:
@@ -22,7 +22,7 @@ export async function scorecardApiRequest(
|
||||
headers: headerWithAuthentication,
|
||||
method,
|
||||
qs: query,
|
||||
uri: uri || `https://api.securityscorecard.io/${resource}`,
|
||||
uri: uri ?? `https://api.securityscorecard.io/${resource}`,
|
||||
body,
|
||||
json: true,
|
||||
};
|
||||
|
||||
@@ -267,7 +267,7 @@ export class SecurityScorecard implements INodeType {
|
||||
body.date = this.getNodeParameter('date', i);
|
||||
}
|
||||
if (['issues', 'portfolio'].indexOf(reportType) > -1) {
|
||||
body.format = this.getNodeParameter('options.format', i) || 'pdf';
|
||||
body.format = this.getNodeParameter('options.format', i) ?? 'pdf';
|
||||
}
|
||||
if (['detailed', 'summary'].indexOf(reportType) > -1) {
|
||||
body.branding = this.getNodeParameter('branding', i);
|
||||
|
||||
Reference in New Issue
Block a user