Skip to content
Snippets Groups Projects
Commit bf8f4dc7 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

fix expiration filter

parent 323a7b20
Branches
Tags
No related merge requests found
...@@ -126,7 +126,7 @@ sub list_accounts { ...@@ -126,7 +126,7 @@ sub list_accounts {
} }
if ($options{filter_expired}) { if ($options{filter_expired}) {
push @{ $args{query} }, expiration_date => { lt => time }; push @{ $args{query} }, expiration_date => { lt => DateTime->now() };
} }
my $accounts = my $accounts =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment