Skip to content

Commit 8f5e051

Browse files
committed
fix: typo
1 parent 2d54e2a commit 8f5e051

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

config/telegram-logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
'chat_id' => env('TELEGRAM_LOGGER_CHAT_ID'),
99

1010
// Telegram message thread id
11-
'message_thread_id' => env('TELEGRAM_LOGGER_MESSAGE_THEAD_ID', null),
11+
'message_thread_id' => env('TELEGRAM_LOGGER_MESSAGE_THREAD_ID', null),
1212

1313
// Blade Template to use formatting logs
1414
'template' => env('TELEGRAM_LOGGER_TEMPLATE', 'laravel-telegram-logging::standard'),

src/TelegramHandler.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ private function sendMessage(string $text): void
141141
{
142142
$httpQuery = http_build_query(array_merge(
143143
[
144-
'text' => $text,
145-
'chat_id' => $this->chatId,
146-
'message_thead_id' => $this->messageThreadId,
147-
'parse_mode' => 'html',
144+
'text' => $text,
145+
'chat_id' => $this->chatId,
146+
'message_thread_id' => $this->messageThreadId,
147+
'parse_mode' => 'html',
148148
],
149149
config('telegram-logger.options', [])
150150
));

0 commit comments

Comments
 (0)