From ae175285753cc6f49a0990828692ac102079f52c Mon Sep 17 00:00:00 2001 From: Andrew Broberg Date: Tue, 26 Mar 2024 16:42:15 +1100 Subject: [PATCH] fix: Fixes wrong config key in service provider --- README.md | 2 +- src/CloudSchedulerServiceProvider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 79d819d..42ac441 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ composer require stackkit/laravel-google-cloud-scheduler Optionally, you may publish the configuration file: ```bash -php artisan vendor:publish --tag-cloud-scheduler-config +php artisan vendor:publish --tag=cloud-scheduler-config ``` 3 - Ensure PHP executable is in open_basedir. This is required for the package to run Artisan commands. diff --git a/src/CloudSchedulerServiceProvider.php b/src/CloudSchedulerServiceProvider.php index 57312f6..55b6132 100644 --- a/src/CloudSchedulerServiceProvider.php +++ b/src/CloudSchedulerServiceProvider.php @@ -15,7 +15,7 @@ public function boot(Router $router) public function register() { - $this->mergeConfigFrom(__DIR__.'/../config/cloud-scheduler.php', 'cloud-scheduler-config'); + $this->mergeConfigFrom(__DIR__.'/../config/cloud-scheduler.php', 'cloud-scheduler'); $this->publishes([ __DIR__.'/../config/cloud-scheduler.php' => config_path('cloud-scheduler.php'),