Skip to content

Commit

Permalink
fixup! [Surrey] Don’t fetch & upload photos from media_url
Browse files Browse the repository at this point in the history
  • Loading branch information
davea committed Sep 17, 2024
1 parent 0223eb8 commit 5db838a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions perllib/Open311/Endpoint/Integration/Boomi.pm
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,6 @@ sub _add_attachments {

my @attachments;

my $ua = LWP::UserAgent->new(agent => "FixMyStreet/open311-adapter");

for my $photo (@{ $args->{media_url} }) {
my $filename = (URI->new($photo)->path_segments)[-1];
push @attachments, {
Expand Down

0 comments on commit 5db838a

Please sign in to comment.