From b496222a42d71e7cc2a02ea4814e67b0d1ae09e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Tr=E1=BA=A7n=20Chung?= Date: Tue, 2 Nov 2021 08:48:15 +0900 Subject: [PATCH] update config key --- src/TelegramHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TelegramHandler.php b/src/TelegramHandler.php index a538afc..198deac 100644 --- a/src/TelegramHandler.php +++ b/src/TelegramHandler.php @@ -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);