mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-26 12:01:16 -08:00
⚡ Increase the Slack default query limit to reduce number of
requests
This commit is contained in:
parent
007cc96642
commit
6ffbd83fe1
|
@ -76,7 +76,7 @@ export async function slackApiRequestAllItems(this: IExecuteFunctions | ILoadOpt
|
||||||
if (endpoint.includes('files.list')) {
|
if (endpoint.includes('files.list')) {
|
||||||
query.count = 100;
|
query.count = 100;
|
||||||
} else {
|
} else {
|
||||||
query.limit = 5;
|
query.limit = 100;
|
||||||
}
|
}
|
||||||
do {
|
do {
|
||||||
responseData = await slackApiRequest.call(this, method, endpoint, body, query);
|
responseData = await slackApiRequest.call(this, method, endpoint, body, query);
|
||||||
|
|
Loading…
Reference in a new issue