Skip to content

Commit

Permalink
do not bind if there is no key
Browse files Browse the repository at this point in the history
  • Loading branch information
scott grayson authored and scott grayson committed Jul 11, 2024
1 parent f1946c4 commit bf1d8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelHubspotServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function configurePackage(Package $package): void

public function bootingPackage()
{
if (config('hubspot.disabled')) {
if (config('hubspot.disabled') || ! config('hubspot.api_key')) {
return;
}

Expand Down

0 comments on commit bf1d8a0

Please sign in to comment.