change page_size to 30

This commit is contained in:
Colin Gagnaire 2019-08-06 18:17:09 +02:00
parent 216519936c
commit 5ed8b0c9fb
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ sub manage_selection {
my @users;
my $page = 1;
while (my $results = $options{custom}->request_api(url_path => '/users?page_size=4&page_number=' . $page)) {
while (my $results = $options{custom}->request_api(url_path => '/users?page_size=30&page_number=' . $page)) {
push @users, @{$results->{users}};
($results->{page_number} < $results->{page_count}) ? $page++ : last;
}