Fix config path

This commit is contained in:
Ben Speakman 2015-02-13 14:36:28 +00:00
parent 979f69dabb
commit 0caa09c307

View file

@ -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);