diff options
Diffstat (limited to 'bin/open311-populate-service-list')
-rw-r--r-- | bin/open311-populate-service-list | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/open311-populate-service-list b/bin/open311-populate-service-list index 4fff0c501..dcdacb047 100644 --- a/bin/open311-populate-service-list +++ b/bin/open311-populate-service-list @@ -8,8 +8,10 @@ use FixMyStreet::App; use Data::Dumper; -my $council = 1; -my $end_point = 'http://seeclicktest.com/open311/services.xml?lat=38.918978274355&lng=-77.0126581192017'; +my $council = shift; +my $end_point = shift; + +die "require council id and end point\n" unless $council and $end_point; my $service_list = get( $end_point ); |