@@ -38,9 +38,9 @@ |
||
38 | 38 | if (empty($config['webhook']['domain'])) { |
39 | 39 | throw new Exception("buktopuha.webhook.domain' is not set in config.yml", 0); |
40 | 40 | } |
41 | - $url = "https://" . $config['webhook']['domain'] . $config['webhook']['path_prefix'] . "/telegram-bot/update"; |
|
41 | + $url = "https://".$config['webhook']['domain'].$config['webhook']['path_prefix']."/telegram-bot/update"; |
|
42 | 42 | if (null !== $secret) { |
43 | - $url .= "/" . $secret; |
|
43 | + $url .= "/".$secret; |
|
44 | 44 | } |
45 | 45 | $res = $api->setwebhook($url); |
46 | 46 | return new JsonResponse([ |