fixed some api and import stuff
This commit is contained in:
parent
d0506c2a95
commit
1c942f0be7
3 changed files with 11 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Reference in a new issue