]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[BC-278] Отправка сообщения в Телеграм
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Fri, 4 Jul 2025 16:21:31 +0000 (19:21 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Fri, 4 Jul 2025 16:21:31 +0000 (19:21 +0300)
erp24/services/TelegramService.php

index 4fcb9e7a5384afc099fd718d7d21ce5e7bd8b13e..9058136e04617db179c411c48f62b2fcad2331a1 100644 (file)
@@ -253,6 +253,8 @@ class TelegramService
                     return $e->getMessage();
                 }
 
+                $client = new Client();
+
                 try {
                     $response = $client->post($apiURL2, [
                         'json' => [