refactor: Clear unused ESLint directives from nodes-base (no-changelog) (#6812)

* refactor: Clear unused ESLint directives from nodes-base (no-changelog)

* removed unused disable directives

---------

Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
Iván Ovejero
2023-08-01 15:32:33 +02:00
committed by GitHub
parent 52aafe0737
commit 24ce141815
85 changed files with 44 additions and 110 deletions

View File

@@ -55,7 +55,7 @@ export async function spotifyApiRequestAllItems(
do {
responseData = await spotifyApiRequest.call(this, method, endpoint, body, query, uri);
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
returnData.push.apply(returnData, get(responseData, propertyName));
uri = responseData.next || responseData[propertyName.split('.')[0]].next;
//remove the query as the query parameters are already included in the next, else api throws error.