Skip to content

Commit

Permalink
fix HJ telegram thread
Browse files Browse the repository at this point in the history
  • Loading branch information
tomahock committed Mar 20, 2024
1 parent 88a5d4b commit cc006b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Jobs/HandleHJProject.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ public function handle()
✍🏻 Nº SADO DA OCORRÊNCIA: {$this->incident->sadoId}";

$data = [
'chat_id' => $this->telegramChannel,
'chat_id' => env('HL_PROJECT_TELEGRAM_CHANNEL'),
'text' => $status,
'message_thread_id' => $this->telegramChannel
];

file_get_contents("https://api.telegram.org/bot{$apiToken}/sendMessage?".http_build_query($data));
Expand Down

0 comments on commit cc006b2

Please sign in to comment.