Skip to content

Commit

Permalink
Disabled heading formatting, so it doesn't skip non snake case column…
Browse files Browse the repository at this point in the history
…s name
  • Loading branch information
Dawid Miklas committed Oct 23, 2023
1 parent 16a5069 commit d93d044
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/EscolaLmsCsvUsersServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use EscolaLms\CsvUsers\Services\CsvUserGroupService;
use EscolaLms\CsvUsers\Services\CsvUserService;
use Illuminate\Support\ServiceProvider;
use Maatwebsite\Excel\Imports\HeadingRowFormatter;

/**
* SWAGGER_VERSION
Expand All @@ -22,6 +23,8 @@ public function boot()
{
$this->loadRoutesFrom(__DIR__.'/routes.php');
$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'csv-users');

HeadingRowFormatter::default('none');
}

public function register()
Expand Down

0 comments on commit d93d044

Please sign in to comment.