Skip to content

Commit

Permalink
Add token to env
Browse files Browse the repository at this point in the history
  • Loading branch information
ptondereau committed May 23, 2017
1 parent edb0781 commit 0b6e5f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/slackEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Your validation token from "App Credentials"
|-------------------------------------------------------------
*/
'token' => 'your-validation-token-here',
'token' => env('SLACK_EVENT_TOKEN', 'your-validation-token-here'),

/*
|-------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions src/SlackEventsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public function boot()
$this->app->configure('slackEvents');
}
$this->mergeConfigFrom($source, 'slackEvents');

require __DIR__.'/Http/routes.php';
}

/**
Expand Down

0 comments on commit 0b6e5f4

Please sign in to comment.