From 80014453f4fc9776f90ad9538bfc012041d38b57 Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Tue, 6 Aug 2019 18:17:09 +0200 Subject: [PATCH] change page_size to 30 --- centreon-plugins/apps/zoom/restapi/mode/listusers.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon-plugins/apps/zoom/restapi/mode/listusers.pm b/centreon-plugins/apps/zoom/restapi/mode/listusers.pm index efa246ab3..e84af031c 100644 --- a/centreon-plugins/apps/zoom/restapi/mode/listusers.pm +++ b/centreon-plugins/apps/zoom/restapi/mode/listusers.pm @@ -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; }