Skip to content

Commit

Permalink
Added fallback value if config is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Cooper committed Aug 12, 2019
1 parent c78af58 commit a559f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HubSpotServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function register()
return HubSpot::create(
env('HUBSPOT_API_KEY', config('hubspot.api_key')),
null,
config('hubspot.client_options')
config('hubspot.client_options', [])
);
});
}
Expand Down

0 comments on commit a559f50

Please sign in to comment.