mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Update rule typescript-eslint/no-unused-vars to not error when variable starts with _ (#4523)
* ⚡ rule and fixes * ⚡ clean up
This commit is contained in:
@@ -78,7 +78,6 @@ export async function mauticApiRequestAllItems(
|
||||
const returnData: IDataObject[] = [];
|
||||
|
||||
let responseData;
|
||||
let data: IDataObject[] = [];
|
||||
query.limit = 30;
|
||||
query.start = 0;
|
||||
|
||||
@@ -88,7 +87,6 @@ export async function mauticApiRequestAllItems(
|
||||
//@ts-ignore
|
||||
returnData.push.apply(returnData, values);
|
||||
query.start += query.limit;
|
||||
data = [];
|
||||
} while (
|
||||
responseData.total !== undefined &&
|
||||
returnData.length - parseInt(responseData.total, 10) < 0
|
||||
|
||||
Reference in New Issue
Block a user