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:
@@ -36,7 +36,7 @@ export async function hubspotApiRequest(
|
||||
method,
|
||||
qs: query,
|
||||
headers: {},
|
||||
uri: uri || `https://api.hubapi.com${endpoint}`,
|
||||
uri: uri ?? `https://api.hubapi.com${endpoint}`,
|
||||
body,
|
||||
json: true,
|
||||
useQuerystring: true,
|
||||
@@ -85,7 +85,7 @@ export async function hubspotApiRequestAllItems(
|
||||
|
||||
let responseData;
|
||||
|
||||
query.limit = query.limit || 250;
|
||||
query.limit = query.limit ?? 250;
|
||||
query.count = 100;
|
||||
body.limit = body.limit || 100;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user