Skip to content

Commit

Permalink
Merge pull request #16 from timacdonald/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot authored Nov 20, 2023
2 parents 7cd48f6 + 4918ee1 commit 59b0aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlackChannelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function register()
{
Notification::resolved(function (ChannelManager $service) {
$service->extend('slack', function ($app) {
return new Channels\SlackApiChannel(new HttpClient);
return $app->make(Channels\SlackApiChannel::class);
});
});
}
Expand Down

0 comments on commit 59b0aa1

Please sign in to comment.