diff --git a/perllib/Open311/Endpoint/Role/mySociety.pm b/perllib/Open311/Endpoint/Role/mySociety.pm index faeb1aefa..8cc9c8747 100644 --- a/perllib/Open311/Endpoint/Role/mySociety.pm +++ b/perllib/Open311/Endpoint/Role/mySociety.pm @@ -196,11 +196,9 @@ sub POST_Service_Request_Update_input_schema { delete $attributes->{required}{update_id}; } - # Allow attributes through for Oxfordshire XXX - if ($jurisdiction eq 'oxfordshire') { - for my $key (grep { /^attribute\[\w+\]$/ } keys %$args) { - $attributes->{optional}{$key} = '//str'; - } + # Allow attributes through + for my $key (grep { /^attribute\[\w+\]$/ } keys %$args) { + $attributes->{optional}{$key} = '//str'; } # Allow nsg_ref through for Bexley XXX