Fix #628
This commit is contained in:
parent
7c64bf5f1b
commit
7c11293d07
@ -43,7 +43,7 @@ public final class WebhookUtils {
|
|||||||
builder.addTextBody(SetWebhook.MAXCONNECTIONS_FIELD, botOptions.getMaxWebhookConnections().toString());
|
builder.addTextBody(SetWebhook.MAXCONNECTIONS_FIELD, botOptions.getMaxWebhookConnections().toString());
|
||||||
}
|
}
|
||||||
if (botOptions.getAllowedUpdates() != null) {
|
if (botOptions.getAllowedUpdates() != null) {
|
||||||
builder.addTextBody(SetWebhook.ALLOWEDUPDATES_FIELD, new JSONArray(botOptions.getMaxWebhookConnections()).toString());
|
builder.addTextBody(SetWebhook.ALLOWEDUPDATES_FIELD, new JSONArray(botOptions.getAllowedUpdates()).toString());
|
||||||
}
|
}
|
||||||
if (publicCertificatePath != null) {
|
if (publicCertificatePath != null) {
|
||||||
File certificate = new File(publicCertificatePath);
|
File certificate = new File(publicCertificatePath);
|
||||||
|
Loading…
Reference in New Issue
Block a user