mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -35,7 +35,7 @@ export async function eventbriteApiRequest(
|
||||
json: true,
|
||||
};
|
||||
options = Object.assign({}, options, option);
|
||||
if (Object.keys(options.body).length === 0) {
|
||||
if (Object.keys(options.body as IDataObject).length === 0) {
|
||||
delete options.body;
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ export async function eventbriteApiRequestAllItems(
|
||||
do {
|
||||
responseData = await eventbriteApiRequest.call(this, method, resource, body, query);
|
||||
query.continuation = responseData.pagination.continuation;
|
||||
returnData.push.apply(returnData, responseData[propertyName]);
|
||||
returnData.push.apply(returnData, responseData[propertyName] as IDataObject[]);
|
||||
} while (
|
||||
responseData.pagination?.has_more_items !== undefined &&
|
||||
responseData.pagination.has_more_items !== false
|
||||
|
||||
Reference in New Issue
Block a user