aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/GetServiceRequestUpdates.pm
diff options
context:
space:
mode:
authorJedidiah Broadbent <hello@jedidiah.eu>2012-10-08 14:42:51 +0100
committerJedidiah Broadbent <hello@jedidiah.eu>2012-10-08 14:42:51 +0100
commit75b5408430165c1e032bd97ae93beb98f81af0b5 (patch)
treefd3e4d7633dd8b1e3d0633efa9f44caacbc35194 /perllib/Open311/GetServiceRequestUpdates.pm
parent2a23e09f479319e78490d67e52d8dfec969a96f0 (diff)
parent0b29251ad6bd71091bdb314fc7504a1eaaea3d22 (diff)
Merge branch 'stevenage' of ssh://git.mysociety.org/data/git/public/fixmystreet into stevenage
Diffstat (limited to 'perllib/Open311/GetServiceRequestUpdates.pm')
-rw-r--r--perllib/Open311/GetServiceRequestUpdates.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perllib/Open311/GetServiceRequestUpdates.pm b/perllib/Open311/GetServiceRequestUpdates.pm
index c30d05b22..36d42bb3e 100644
--- a/perllib/Open311/GetServiceRequestUpdates.pm
+++ b/perllib/Open311/GetServiceRequestUpdates.pm
@@ -31,6 +31,13 @@ sub fetch {
jurisdiction => $council->jurisdiction,
);
+ if ( $council->area_id =~ /2482/ ) {
+ my $endpoints = $o->endpoints;
+ $endpoints->{update} = 'update.xml';
+ $endpoints->{service_requests_updates} = 'update.xml';
+ $o->endpoints( $endpoints );
+ }
+
$self->suppress_alerts( $council->suppress_alerts );
$self->system_user( $council->comment_user );
$self->update_comments( $o, { areaid => $council->area_id }, );