Skip to content

Commit

Permalink
[Bristol] Remove Open311 groups.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Apr 23, 2020
1 parent 791f2f7 commit ed4fc91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions perllib/FixMyStreet/Cobrand/Bristol.pm
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ sub open311_config {
sub open311_contact_meta_override {
my ($self, $service, $contact, $meta) = @_;

# Bristol returns groups we do not want to use
$service->{group} = [];

my %server_set = (easting => 1, northing => 1);
foreach (@$meta) {
$_->{automated} = 'server_set' if $server_set{$_->{code}};
Expand Down

0 comments on commit ed4fc91

Please sign in to comment.