Skip to content

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

@michaelr0

Description

@michaelr0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions