Skip to content

Commit 19a875a

Browse files
committed
Laravel 5 workaround
1 parent bdd2708 commit 19a875a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Maknz/Slack/SlackServiceProvider.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class SlackServiceProvider extends ServiceProvider {
1919
*/
2020
public function boot()
2121
{
22-
$this->package('maknz/slack');
22+
//$this->package('maknz/slack');
2323
}
2424

2525
/**
@@ -32,11 +32,11 @@ public function register()
3232
$this->app['maknz.slack'] = $this->app->share(function($app)
3333
{
3434
return new Client(
35-
$app['config']->get('slack::endpoint'),
35+
$app['config']->get('services.slack.endpoint'),
3636
[
37-
'channel' => $app['config']->get('slack::channel'),
38-
'username' => $app['config']->get('slack::username'),
39-
'icon' => $app['config']->get('slack::icon')
37+
'channel' => $app['config']->get('services.slack.channel'),
38+
'username' => $app['config']->get('services.slack.username'),
39+
'icon' => $app['config']->get('services.slack.icon')
4040
],
4141
new Guzzle
4242
);

0 commit comments

Comments
 (0)