checkout: Do not cardcode action type

This commit is contained in:
Daniel Friesel 2019-04-05 21:45:40 +02:00
parent 7f84288db5
commit 6630cdcd9e

View file

@ -700,7 +700,7 @@ qq{select * from pending_mails where email = ? and num_tries > 1;}
else { else {
my $success = $self->app->action_query->execute( my $success = $self->app->action_query->execute(
$self->current_user->{id}, $self->current_user->{id},
$self->app->action_type->{checkout}, $action_id,
$self->get_station_id( $self->get_station_id(
ds100 => $status->{station_ds100}, ds100 => $status->{station_ds100},
name => $status->{station_name} name => $status->{station_name}