Fix config path
This commit is contained in:
parent
979f69dabb
commit
0caa09c307
|
|
@ -33,7 +33,7 @@ class LaravelWpApiServiceProvider extends ServiceProvider {
|
|||
{
|
||||
$this->app->bindShared('wp-api', function ($app) {
|
||||
|
||||
$endpoint = $this->app['config']->get('laravel-wp-api.endpoint');
|
||||
$endpoint = $this->app['config']->get('wp-api.endpoint');
|
||||
$client = new Client();
|
||||
|
||||
return new WpApi($endpoint, $client);
|
||||
|
|
|
|||
Loading…
Reference in a new issue