Skip to content

Commit

Permalink
Fix disabling cache
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Feb 14, 2024
1 parent 5cd1c00 commit 99adb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelDataServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function packageRegistered(): void
$this->app->singleton(
DataConfig::class,
function () {
if (config('data.structure_caching.enabled') || $this->app->runningUnitTests()) {
if (config('data.structure_caching.enabled') === false || $this->app->runningUnitTests()) {
return DataConfig::createFromConfig(config('data'));
}

Expand Down

0 comments on commit 99adb0d

Please sign in to comment.