aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/PostServiceRequestUpdates.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-03-06 17:08:19 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-03-08 17:22:19 +0000
commit435d15a06bd845bbcadc603b5a9a7ca88b7b403d (patch)
treed83f45613275b9a8f732c299212cc60e3ff6cf8a /perllib/Open311/PostServiceRequestUpdates.pm
parent36487240bae63833e7e82ac673be92eb9c033d4c (diff)
[Open311] Use cobrand hook for extra update params
The test has to now create a new comment object each time as `get_cobrand_logged` is cached on the object.
Diffstat (limited to 'perllib/Open311/PostServiceRequestUpdates.pm')
-rwxr-xr-xperllib/Open311/PostServiceRequestUpdates.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/Open311/PostServiceRequestUpdates.pm b/perllib/Open311/PostServiceRequestUpdates.pm
index e2172c028..252f08aff 100755
--- a/perllib/Open311/PostServiceRequestUpdates.pm
+++ b/perllib/Open311/PostServiceRequestUpdates.pm
@@ -38,6 +38,7 @@ sub open311_params {
jurisdiction => $body->jurisdiction,
api_key => $body->api_key,
extended_statuses => $body->send_extended_statuses,
+ fixmystreet_body => $body,
);
my $cobrand = $body->get_cobrand_handler;