aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311
diff options
context:
space:
mode:
authorHakim Cassimally <hakim@mysociety.org>2014-07-24 16:39:03 +0000
committerHakim Cassimally <hakim@mysociety.org>2014-10-16 16:56:27 +0000
commit9dacce035c39b52e66b6ebed23b9c33613375ca4 (patch)
treedb1fb916112e9d4e04d4dee6d1d8c9284446dec9 /perllib/Open311
parentf44cd4682389d394129a89ee44005b7842b41964 (diff)
Open311 tweaks to get round-tripping working
If https://github.com/mysociety/fixmystreet/pull/792 is accepted then this should be rewritten in terms of that.
Diffstat (limited to 'perllib/Open311')
-rw-r--r--perllib/Open311/Endpoint/Role/mySociety.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/Open311/Endpoint/Role/mySociety.pm b/perllib/Open311/Endpoint/Role/mySociety.pm
index 3669c585b..de65baab6 100644
--- a/perllib/Open311/Endpoint/Role/mySociety.pm
+++ b/perllib/Open311/Endpoint/Role/mySociety.pm
@@ -68,7 +68,8 @@ sub GET_Service_Request_Updates_input_schema {
$self->get_jurisdiction_id_required_clause,
},
optional => {
- $self->get_jurisdiction_id_optional_clause,,
+ $self->get_jurisdiction_id_optional_clause,
+ api_key => $self->get_identifier_type('api_key'),
start_date => '/open311/datetime',
end_date => '/open311/datetime',
}