fix(o365) list modes (#2307)

This commit is contained in:
UrBnW 2020-10-29 11:09:31 +01:00 committed by GitHub
parent d1c1cfaf19
commit 9e8a55daf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ sub check_options {
sub manage_selection {
my ($self, %options) = @_;
my $results = $options{custom}->office_get_onedrive_usage();
my $results = $options{custom}->office_get_onedrive_usage(param => "period='D7'");
foreach my $site (@{$results}) {
if (defined($self->{option_results}->{filter_url}) && $self->{option_results}->{filter_url} ne '' &&

View File

@ -47,7 +47,7 @@ sub check_options {
sub manage_selection {
my ($self, %options) = @_;
my $results = $options{custom}->office_get_sharepoint_site_usage();
my $results = $options{custom}->office_get_sharepoint_site_usage(param => "period='D7'");
foreach my $site (@{$results}) {
if (defined($self->{option_results}->{filter_url}) && $self->{option_results}->{filter_url} ne '' &&