diff options
Diffstat (limited to 'lib/Travelynx/Command/work.pm')
-rw-r--r-- | lib/Travelynx/Command/work.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/work.pm b/lib/Travelynx/Command/work.pm index f9b78b6..16b41b2 100644 --- a/lib/Travelynx/Command/work.pm +++ b/lib/Travelynx/Command/work.pm @@ -1,4 +1,5 @@ package Travelynx::Command::work; + # Copyright (C) 2020 Daniel Friesel # # SPDX-License-Identifier: MIT @@ -293,7 +294,7 @@ sub run { # own by-year journey log. for my $user ( $db->select( 'users', 'id', { status => 1 } )->hashes->each ) { - $self->app->get_journey_stats( + $self->app->journeys->get_stats( uid => $user->{id}, year => $now->year ); |