Skip to content

Commit

Permalink
Fix config name
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp committed Apr 24, 2022
1 parent a5cda1e commit 81a77cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ToolServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function register()
$this->app->when([UploadController::class, ImportController::class])
->needs(ModelImporter::class)
->give(function () {
$class = $this->app['config']->get('csv-importer.importer');
$class = $this->app['config']->get('csv-import.importer');

$importable = \Maatwebsite\Excel\Concerns\Importable::class;

Expand Down

0 comments on commit 81a77cc

Please sign in to comment.