Skip to content

Commit

Permalink
1. Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenlagus authored and Rubenlagus committed Jan 20, 2016
1 parent 56ef6bb commit 71bd414
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private static String fixExternalUrl(String externalUrl) {
private static void setWebhook(String webHookURL, String botToken, String publicCertificatePath, String publicCertificateName) throws TelegramApiException {
try {
CloseableHttpClient httpclient = HttpClientBuilder.create().setSSLHostnameVerifier(new NoopHostnameVerifier()).build();
String url = Constants.BASEURL + botToken + SetWebhook.PATH;
String url = Constants.BASEURL + botToken + "/" + SetWebhook.PATH;

HttpPost httppost = new HttpPost(url);
MultipartEntityBuilder builder = MultipartEntityBuilder.create();
Expand Down

0 comments on commit 71bd414

Please sign in to comment.