Skip to content

Commit

Permalink
Merge pull request #18 from razorpay/php_upgrade
Browse files Browse the repository at this point in the history
slack logs
  • Loading branch information
jayesh-razorpay authored Nov 24, 2022
2 parents a2e5417 + 22a7271 commit 5886ca8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ServiceProviderLaravel5.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public function register()
{
$this->mergeConfigFrom(__DIR__ . '/config/config.php', 'slack');

//Todo:- The config copy is not correct, the values are not getting copied in slack.defaults array
// The fix is to replace slack.defaults.<key> with slack.<key>. This is broken since April 2021.
// And as there is no report for this we are assuming the flow is not in use.
// If someone needs this flow please make the above change.
$this->app->singleton('slack', function ($app) {
$slack = new Client(
$app['config']->get('slack.defaults.endpoint'),
Expand Down

0 comments on commit 5886ca8

Please sign in to comment.