File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,9 @@ sub travel_v1 {
206
206
return ;
207
207
}
208
208
209
- if ( not $hafas and not $self -> stations-> search($from_station , iris => 1) ) {
209
+ if ( not $hafas
210
+ and not $self -> stations-> search( $from_station , backend_id => 1 ) )
211
+ {
210
212
$self -> render(
211
213
json => {
212
214
success => \0,
@@ -221,7 +223,7 @@ sub travel_v1 {
221
223
222
224
if ( $to_station
223
225
and not $hafas
224
- and not $self -> stations-> search($to_station , iris => 1) )
226
+ and not $self -> stations-> search( $to_station , backend_id => 1 ) )
225
227
{
226
228
$self -> render(
227
229
json => {
@@ -528,8 +530,9 @@ sub import_v1 {
528
530
$payload -> {toStation }{realTime }
529
531
// $payload -> {toStation }{scheduledTime }
530
532
),
531
- comment => sanitize( q{ } , $payload -> {comment } ),
532
- lax => $payload -> {lax } ? 1 : 0,
533
+ comment => sanitize( q{ } , $payload -> {comment } ),
534
+ lax => $payload -> {lax } ? 1 : 0,
535
+ backend_id => 1,
533
536
);
534
537
535
538
if ( $payload -> {intermediateStops }
You can’t perform that action at this time.
0 commit comments