From 1074f248cc415a397f16d0328a8f45fa6a867513 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 9 Jul 2023 14:46:28 +0200 Subject: use promises for checkin and traewelling_to_travelynx --- lib/Travelynx/Command/traewelling.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travelynx/Command') diff --git a/lib/Travelynx/Command/traewelling.pm b/lib/Travelynx/Command/traewelling.pm index 1974352..4c47e84 100644 --- a/lib/Travelynx/Command/traewelling.pm +++ b/lib/Travelynx/Command/traewelling.pm @@ -50,7 +50,7 @@ sub pull_sync { sub { my ($traewelling) = @_; $pull_result{ $traewelling->{http} } += 1; - $self->app->traewelling_to_travelynx( + return $self->app->traewelling_to_travelynx_p( traewelling => $traewelling, user_data => $account_data ); -- cgit v1.2.3