diff options
author | Chris Mytton <chrismytton@gmail.com> | 2019-12-17 17:24:46 +0000 |
---|---|---|
committer | Chris Mytton <chrism@mysociety.org> | 2020-02-20 14:01:10 +0000 |
commit | 431b27f866998e497f15c846d9c380818d54e9e8 (patch) | |
tree | 2b442fa2564b52303d700ed61b60617013dcd8a4 | |
parent | 7818f93fb07260fc4558e0a6e68bce6bd9efb279 (diff) |
[Peterborough] Add FMS ID when sending update to open311
We need the FMS ID so we can send it through to ezytreev, as that
matches updates to existing reports using the FMS ID.
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Peterborough.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Peterborough.pm b/perllib/FixMyStreet/Cobrand/Peterborough.pm index 0de626c35..829df5def 100644 --- a/perllib/FixMyStreet/Cobrand/Peterborough.pm +++ b/perllib/FixMyStreet/Cobrand/Peterborough.pm @@ -67,6 +67,9 @@ sub open311_munge_update_params { # Peterborough want to make it clear in Confirm when an update has come # from FMS. $params->{description} = "[Customer FMS update] " . $params->{description}; + + # Send the FMS problem ID with the update. + $params->{service_request_id_ext} = $comment->problem->id; } 1; |