From c878db08d373250533ffa5b2b02570d8ee0cf34d Mon Sep 17 00:00:00 2001 From: mirmuxsin Date: Fri, 11 Nov 2022 16:04:33 +0500 Subject: [PATCH] fixed function setUrl and access url --- src/app/Console/Commands/longpolling.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Console/Commands/longpolling.php b/src/app/Console/Commands/longpolling.php index 614d6cf..0367030 100644 --- a/src/app/Console/Commands/longpolling.php +++ b/src/app/Console/Commands/longpolling.php @@ -41,7 +41,7 @@ public function handle() $this->info('Webhook address: ' . $url.config('laragram.url')); file_get_contents("https://api.telegram.org/bot" . $token . "/setWebhook?url=" . $url.config('laragram.url')); - $setUrl = \Milly\Laragram\Laragram::setUrl($url.config('laragram.url')); + $setUrl = \Milly\Laragram\Laragram::setUrl($url); $this->info('Webhook was successfully set'); $this->call('serve'); }