summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index e8d3902..7688136 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -573,6 +573,7 @@ sub startup {
db => $db,
journey => $journey,
stop => $found,
+ data => { trip_id => $journey->id }
);
};
if ($@) {
@@ -581,11 +582,6 @@ sub startup {
$promise->reject( 'INSERT failed: ' . $@ );
return;
}
- $self->in_transit->update_data(
- uid => $uid,
- db => $db,
- data => { trip_id => $journey->id }
- );
my $polyline;
if ( $journey->polyline ) {