Increase the Slack default query limit to reduce number of

requests
This commit is contained in:
Jan Oberhauser 2021-10-19 22:52:53 -05:00
parent 007cc96642
commit 6ffbd83fe1

View file

@ -76,7 +76,7 @@ export async function slackApiRequestAllItems(this: IExecuteFunctions | ILoadOpt
if (endpoint.includes('files.list')) {
query.count = 100;
} else {
query.limit = 5;
query.limit = 100;
}
do {
responseData = await slackApiRequest.call(this, method, endpoint, body, query);