Skip to content

Commit

Permalink
add ServiceProvider and config
Browse files Browse the repository at this point in the history
  • Loading branch information
mttzzz committed Oct 6, 2019
1 parent 2aae98c commit 2eca36c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Telegram.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public static function log($note)
}
}

$token = config('app.token_telegram');
$chat_id = config('app.chat_id_telegram');
$token = config('telegramLog.token');
$chat_id = config('telegramLog.chat_id');

$message = '<b>' . env('APP_NAME') . '</b>' . PHP_EOL
. '<b>' . env('APP_ENV') . '</b>' . PHP_EOL
Expand Down

0 comments on commit 2eca36c

Please sign in to comment.