summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command/traewelling.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-07-09 14:46:28 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-07-09 14:46:28 +0200
commit1074f248cc415a397f16d0328a8f45fa6a867513 (patch)
tree0dfcf10ecbcbb98b7d5159056acd83e6a5a3b4d9 /lib/Travelynx/Command/traewelling.pm
parentf7e3bb490d33640cd7b8e92ffa3ac7c71d42d191 (diff)
use promises for checkin and traewelling_to_travelynx
Diffstat (limited to 'lib/Travelynx/Command/traewelling.pm')
-rw-r--r--lib/Travelynx/Command/traewelling.pm2
1 files changed, 1 insertions, 1 deletions
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
);