Skip to content

Commit

Permalink
fix using slack url
Browse files Browse the repository at this point in the history
  • Loading branch information
shotadev01 committed Nov 11, 2019
1 parent 62631b7 commit 4689936
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Reservation.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ public function user()

public function routeNotificationForSlack()
{
return 'https://hooks.slack.com/services/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';
return config('services.slack.tokyo_house');
}
}
4 changes: 4 additions & 0 deletions config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
'token' => env('POSTMARK_TOKEN'),
],

'slack' => [
'tokyo_house' => env('SLACK_NOTIFICATION_URL'),
],

'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
Expand Down

0 comments on commit 4689936

Please sign in to comment.