Skip to content

Commit

Permalink
fixed function setUrl and access url
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirmuxsin committed Nov 11, 2022
1 parent f51072e commit c878db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Console/Commands/longpolling.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit c878db0

Please sign in to comment.