Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FieldServiceProvider.php calls env('GOOGLE_PLACES_API_KEY') #6

Open
michaelr0 opened this issue Aug 20, 2019 · 0 comments
Open

FieldServiceProvider.php calls env('GOOGLE_PLACES_API_KEY') #6

michaelr0 opened this issue Aug 20, 2019 · 0 comments

Comments

@michaelr0
Copy link

michaelr0 commented Aug 20, 2019

Hi There.

There is a small issue with your FieldServiceProvider.php file.
It makes a direct reference to the env function and doesn't load the api key from the config file.

In most cases this will work, however if you have used "php artisan config:cache" then your application no longer has access to pull information via the env function and if it hasn't been loaded into config, then you cannot load in the api key.

Appears to have already been submitted as a pull request: #5

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant