Skip to content

Commit 09eaeed

Browse files
committed
added captcha for tg bot
1 parent cb92d1e commit 09eaeed

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

app/Http/Controllers/WebHookController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function telegram(Request $request): void
3131
);
3232
}
3333

34-
Log::channel('tg-bot')->info(json_encode($request->all()));
34+
Log::channel('telegram')->info(json_encode($request->all()));
3535

3636
TelegramMessage::dispatch(
3737
$request->collect('message'),

config/logging.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,6 @@
137137
'emergency' => [
138138
'path' => storage_path('logs/laravel.log'),
139139
],
140-
141-
'tg-bot' => [
142-
'driver' => 'daily',
143-
'path' => storage_path('logs/tg-bot/tg-bot.log'),
144-
'level' => env('LOG_LEVEL', 'debug'),
145-
'replace_placeholders' => true,
146-
],
147-
148140
],
149141

150142
];

0 commit comments

Comments
 (0)