Convert all env() calls to config() calls

This commit is contained in:
Jonny Barnes 2017-02-15 20:44:03 +00:00
parent e032cd5861
commit b4df7a1bbb
10 changed files with 61 additions and 14 deletions

View file

@ -47,8 +47,8 @@ class GenerateToken extends Command
public function handle(TokenService $tokenService)
{
$data = [
'me' => env('APP_URL'),
'client_id' => env('APP_URL') . '/notes/new',
'me' => config('app.url'),
'client_id' => config('app.url') . '/notes/new',
'scope' => 'post',
];
$token = $tokenService->getNewToken($data);