mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Upgrade TypeScript to v5 (no-changelog) (#5755)
This commit is contained in:
committed by
GitHub
parent
b69129bd78
commit
87e979c19a
@@ -79,7 +79,8 @@ export async function clickupApiRequestAllItems(
|
||||
responseData = await clickupApiRequest.call(this, method, resource, body, query);
|
||||
returnData.push.apply(returnData, responseData[propertyName] as IDataObject[]);
|
||||
query.page++;
|
||||
if (query.limit && query.limit <= returnData.length) {
|
||||
const limit = query.limit as number | undefined;
|
||||
if (limit && limit <= returnData.length) {
|
||||
return returnData;
|
||||
}
|
||||
} while (responseData[propertyName] && responseData[propertyName].length !== 0);
|
||||
|
||||
Reference in New Issue
Block a user