diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-07-10 18:47:21 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-07-10 18:47:21 +0200 |
commit | df05c90fc86e375d89fa1d70c917b0e2a25514ae (patch) | |
tree | 1c718842d7801fe477156ad72a42807a0f743de1 /lib/DBInfoscreen/Helper/Marudor.pm | |
parent | 83b2225a4d78eb948a1bc5841c676c97e78f414f (diff) |
_eva: switch to new occupancy-by-eva endpoint
Diffstat (limited to 'lib/DBInfoscreen/Helper/Marudor.pm')
-rw-r--r-- | lib/DBInfoscreen/Helper/Marudor.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Helper/Marudor.pm b/lib/DBInfoscreen/Helper/Marudor.pm index 0f08c46..91b34e3 100644 --- a/lib/DBInfoscreen/Helper/Marudor.pm +++ b/lib/DBInfoscreen/Helper/Marudor.pm @@ -88,7 +88,8 @@ sub get_efa_occupancy { my $promise = Mojo::Promise->new; $self->get_json_p( $self->{realtime_cache}, - "https://vrrf.finalrewind.org/_eva/${eva}.json" )->then( + "https://vrrf.finalrewind.org/_eva/occupancy-by-eva/${eva}.json" ) + ->then( sub { my ($utilization_json) = @_; |