Skip to content

Commit

Permalink
update config key
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentranchung committed Nov 1, 2021
1 parent 69287d6 commit b496222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TelegramHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private function sendMessage(string $text): void
'chat_id' => $this->chatId,
'parse_mode' => 'html',
],
config('telegram-logger.template', [])
config('telegram-logger.options', [])
));

file_get_contents('https://api.telegram.org/bot'.$this->botToken.'/sendMessage?' . $httpQuery);
Expand Down

0 comments on commit b496222

Please sign in to comment.