Skip to content

Commit

Permalink
1. Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenlagus authored and Rubenlagus committed Jan 20, 2016
1 parent 9f8a34e commit 56ef6bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private void setWebhook(String botToken) throws TelegramApiException {
if (botToken == null) {
throw new TelegramApiException("Parameter botToken can not be null");
}
setWebhook(extrenalUrl, botToken, pathToCertificate, publicCertificateName);
setWebhook(extrenalUrl == null ? "" : extrenalUrl, botToken, pathToCertificate, publicCertificateName);
}

/**
Expand Down

0 comments on commit 56ef6bb

Please sign in to comment.