diff options
-rw-r--r-- | lib/Travel/Routing/DE/DBRIS.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Routing/DE/DBRIS.pm b/lib/Travel/Routing/DE/DBRIS.pm index 4a984f3..618e2b4 100644 --- a/lib/Travel/Routing/DE/DBRIS.pm +++ b/lib/Travel/Routing/DE/DBRIS.pm @@ -37,8 +37,8 @@ sub new { } my $self = { + cache => $conf{cache}, developer_mode => $conf{developer_mode}, - results => [], from => $conf{from}, to => $conf{to}, ua => $ua, @@ -117,7 +117,7 @@ sub new { time_zone => 'Europe/Berlin', ); - my $json = $self->{json} = JSON->new->utf8; + my $json = $self->{json} = JSON->new->utf8->canonical; if ( $conf{async} ) { $self->{req} = $req; |