fixed some api and import stuff

This commit is contained in:
Finn 2019-07-09 13:50:26 +01:00
parent 1a66933693
commit eb2a71ce65
3 changed files with 11 additions and 1 deletions

View file

@ -19,7 +19,7 @@ sub import_csv {
my ($self) = @_;
my $rows = $self->csv_data;
my $lcc_org = $self->schema->resultset('Organisation')->find({ name => "Lancashire County Council" });
foreach my $row ( @{$rows} ) {
$self->_row_to_result($row);
}