diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-01-26 16:04:08 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-01-26 16:04:08 +0100 |
commit | cc25a56864f3276e91b17e20de25652247c9d8e9 (patch) | |
tree | a0e90ebf70c7f6144984077e1092512a1e69d69d /lib/Travelynx/Controller | |
parent | 21234707fcd880cf980de4d31cefe4af951644f0 (diff) |
Api: Import: Set correct route key for add_journey
Diffstat (limited to 'lib/Travelynx/Controller')
-rwxr-xr-x | lib/Travelynx/Controller/Api.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Api.pm b/lib/Travelynx/Controller/Api.pm index 20817d9..8af57be 100755 --- a/lib/Travelynx/Controller/Api.pm +++ b/lib/Travelynx/Controller/Api.pm @@ -463,7 +463,7 @@ sub import_v1 { if ( $payload->{intermediateStops} and ref( $payload->{intermediateStops} ) eq 'ARRAY' ) { - $opt{intermediateStops} + $opt{route} = [ map { sanitize( q{}, $_ ) } @{ $payload->{intermediateStops} } ]; } |