Unverified Commit 1eb07fd2 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

enhance: use db-rest v6

parent f30f5bca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ for my $station ( @{$stations} ) {
	if ( not $station->{latlong} ) {
		say "Requesting location for $station->{name} ...";
		my $res = $ua->get(
			sprintf( 'https://v5.db.transport.rest/stops/%07d',
			sprintf( 'https://v6.db.transport.rest/stops/%07d',
				$station->{eva} )
		);
		if ( $res->is_error ) {