From 745a82220f1bd03f00c77da39aacbe18eb7dbb20 Mon Sep 17 00:00:00 2001 From: Finn Date: Thu, 11 Jul 2019 11:28:02 +0100 Subject: [PATCH] got rid of dwarn statements --- lib/Pear/LocalLoop/Controller/Api/External.pm | 3 --- lib/Pear/LocalLoop/Import/LCCCsv/Transactions.pm | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/Pear/LocalLoop/Controller/Api/External.pm b/lib/Pear/LocalLoop/Controller/Api/External.pm index da08cb5..158d7d5 100644 --- a/lib/Pear/LocalLoop/Controller/Api/External.pm +++ b/lib/Pear/LocalLoop/Controller/Api/External.pm @@ -5,9 +5,6 @@ use Mojo::JSON; sub post_lcc_transactions { my $c = shift; - use Devel::Dwarn; - Dwarn "hello"; - my $user = $c->stash->{api_user}; # TODO Check the user is lancaster city council diff --git a/lib/Pear/LocalLoop/Import/LCCCsv/Transactions.pm b/lib/Pear/LocalLoop/Import/LCCCsv/Transactions.pm index c81512d..1d94575 100644 --- a/lib/Pear/LocalLoop/Import/LCCCsv/Transactions.pm +++ b/lib/Pear/LocalLoop/Import/LCCCsv/Transactions.pm @@ -44,9 +44,6 @@ sub _row_to_result { Pear::LocalLoop::Error->throw("Cannot find an organisation with supplier_id $supplier_id"); } - use Devel::Dwarn; - Dwarn $organisation->entity->id; - my $date_formatter = DateTime::Format::Strptime->new( pattern => '%Y/%m/%d' );