mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Slack Node): Make sure paginated calls use the defined limits (#14185)
This commit is contained in:
@@ -124,7 +124,7 @@ export async function slackApiRequestAllItems(
|
||||
if (endpoint.includes('files.list')) {
|
||||
query.count = 100;
|
||||
} else {
|
||||
query.limit = 100;
|
||||
query.limit = query.limit ?? 100;
|
||||
}
|
||||
do {
|
||||
responseData = await slackApiRequest.call(this, method, endpoint, body as IDataObject, query);
|
||||
|
||||
Reference in New Issue
Block a user