summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-05 21:45:40 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-05 21:45:40 +0200
commit6630cdcd9e943a9a8c2cce49b6b5e59bd6ef6710 (patch)
tree3e8fee87fab463974744688a321bfc49fb86be97 /lib
parent7f84288db59190513213fd3ad81bdcdb48105de2 (diff)
checkout: Do not cardcode action type
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 7e56468..3de3b9e 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -700,7 +700,7 @@ qq{select * from pending_mails where email = ? and num_tries > 1;}
else {
my $success = $self->app->action_query->execute(
$self->current_user->{id},
- $self->app->action_type->{checkout},
+ $action_id,
$self->get_station_id(
ds100 => $status->{station_ds100},
name => $status->{station_name}